Files
DB-GPT/web
alan.cl 0868c23988 fix(connector): route order + frontend list URL trailing slash
Two backend integration bugs surfaced when /construct/connectors loaded:

1. GET /pending-confirms returned {Connector 'pending-confirms' not found}
   because the route was defined AFTER GET /{connector_id}, so FastAPI
   matched the catch-all first and treated 'pending-confirms' as a
   connector_id. HITL polling never reached the queue endpoint.

   Move /pending-confirms, /confirm, and ConfirmRequest BEFORE the
   /{connector_id} routes so FastAPI matches the fixed paths first.

2. GET /api/v2/serve/connectors (no trailing slash) hit DB-GPT's static
   Next-export fallback (404 HTML), because FastAPI registers the list
   route as GET / under api_prefix and the auto-redirect was intercepted.
   Frontend useConnectors() used the bare base URL.

   Add API_BASE_LIST = `${API_BASE}/` constant and use it for the list
   (GET /) and create (POST /) calls. Single-resource calls keep the
   bare base + "/{id}" form.
2026-05-27 11:31:47 +08:00
..
2026-03-16 11:55:42 +08:00
2026-03-16 11:55:42 +08:00
2024-08-22 11:05:18 +08:00
2026-03-16 11:55:42 +08:00
2024-08-22 11:05:18 +08:00

DB-GPT
DB-GPT-Web

DB-GPT Chat UI, LLM to Vision.

Release Notes Open Issues Discord


👋 Introduction

DB-GPT-Web is an Open source chat UI for DB-GPT. Also, it is a LLM to Vision solution.

DB-GPT-Web is an Open source Tailwind and Next.js based chat UI for AI and GPT projects. It beautify a lot of markdown labels, such as table, thead, th, td, code, h1, h2, ul, li, a, img. Also it define some custom labels to adapted to AI-specific scenarios. Such as plugin running, knowledge name, Chart view, and so on.

💪🏻 Getting Started

Prerequisites

  • Node.js >= 16
  • npm >= 8
  • yarn >= 1.22
  • Supported OSes: Linux, macOS and Windows

Installation

Using Yarn is recommended for dependency management.

# Install dependencies
npm install
yarn install

Usage

cp .env.template .env

edit the API_BASE_URL to the real address

# development model
npm run dev
yarn dev

🚀 Use In DB-GPT

bash ../scripts/build_web_static.sh

📚 Documentation

For full documentation, visit document.

Usage

gpt-vis for markdown support. ant-design for ui components. next.js for server side rendering. @antv/g2 for charts.

License

DB-GPT-Web is licensed under the MIT License.


Enjoy using DB-GPT-Web to build stunning UIs for your AI and GPT projects.

🌟 If you find it helpful, don't forget to give it a star on GitHub! Stars are like little virtual hugs that keep us going! We appreciate every single one we receive.

For any queries or issues, feel free to open an issue on the repository.

Happy coding! 😊

antdbgptweb installation

deploy in local environment: