Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
481 commits
Select commit Hold shift + click to select a range
0c7dae7
deps:refactor dependencies installation method (#2381)
yyhhyyyyyy Mar 2, 2025
f6ad6f3
doc:more integration documents
Aries-ckt Mar 2, 2025
cab859a
Merge branch 'main' of https://github.com/eosphoros-ai/DB-GPT into mo…
Aries-ckt Mar 2, 2025
bbc70aa
doc:more integration documents
Aries-ckt Mar 2, 2025
a73ef07
doc:add integrations documents (#2382)
yyhhyyyyyy Mar 3, 2025
7ce8b3d
ci(docs): Fix build doc error
fangyinc Mar 3, 2025
5faf628
ci(docs): Fix build doc error
fangyinc Mar 3, 2025
7a7de92
ci(docs): Fix build doc error (#2383)
yyhhyyyyyy Mar 3, 2025
f778bd0
ci(docs): Fix build doc error
fangyinc Mar 3, 2025
b6b232c
ci(docs): Fix build doc error (#2385)
yyhhyyyyyy Mar 3, 2025
e3a25de
docs: add vllm llama_cpp docs and standardize configs (#2386)
yyhhyyyyyy Mar 3, 2025
c8e252c
fix(model): Fix reasoning output bug
fangyinc Mar 4, 2025
a22de08
chore: Modify ollama config
fangyinc Mar 4, 2025
948a93b
fix(model): Fix reasoning output bug (#2393)
yyhhyyyyyy Mar 4, 2025
6acfb16
fix(datasource): Fix datasource resource error
fangyinc Mar 4, 2025
e843a92
chore: Ignore local config
fangyinc Mar 4, 2025
1a39709
fix(datasource): Fix datasource resource error (#2394)
yyhhyyyyyy Mar 4, 2025
243e981
fix:solve default persist path (#2395)
Aries-ckt Mar 5, 2025
d5a2a0b
refactor(dbgpts): Refactor dbgpts for 0.7.0 (#2397)
fangyinc Mar 5, 2025
3bd75d8
refactor(GraphRAG): refine config usage and fix some bug. (#2392)
SonglinLyu Mar 5, 2025
bfd7fe8
feat(datasource): Support reasoning for ChatDashboard (#2401)
fangyinc Mar 6, 2025
2697aba
fix(model): Fix reasoning output bug (#2405)
fangyinc Mar 6, 2025
4e993a2
feat(model): API support reasoning (#2409)
fangyinc Mar 7, 2025
bb06e93
refactor(ollama): add ollama config and support ollama model output (…
yyhhyyyyyy Mar 7, 2025
a3216a7
fix(code): Fix build lyric error (#2413)
fangyinc Mar 7, 2025
81f4c6a
feat(agents): add ReActAgent (#2420)
FOkvj Mar 9, 2025
fdadfdd
chore: fix unit test (#2421)
Aries-ckt Mar 9, 2025
75c1454
docs: add ollama docs (#2419)
yyhhyyyyyy Mar 9, 2025
93eb3a7
feat(ChatExcel): Better Chat Excel (#2423)
fangyinc Mar 10, 2025
e0af6fd
fix(agent): move app resource implement to serv pkg (#2310)
cinjoseph Mar 10, 2025
fe4c5ed
Merge remote-tracking branch 'main-com/main' into issue2321
Aries-ckt Mar 10, 2025
49ce86f
fix issue2321:Provide an implementation of the truncate method (#2357)
csunny Mar 11, 2025
37660ee
workflow(pylint): fix pylint workflow
yyhhyyyyyy Mar 11, 2025
60aa035
workflow(ruff): add ruff code checks workflow
yyhhyyyyyy Mar 11, 2025
528c0c8
workflow(ruff): add ruff code checks workflow (#2438)
Aries-ckt Mar 11, 2025
ee1ac0d
fix(chat): Fix chat completions API error (#2443)
fangyinc Mar 12, 2025
455cdd1
feat(build): Support docker install
fangyinc Mar 11, 2025
e26d265
chore: Simple build script
fangyinc Mar 11, 2025
9c642b2
chore: Add lyric build env
fangyinc Mar 11, 2025
295d673
chore: Upgrade lyric version
fangyinc Mar 11, 2025
1a2a8a6
fix(build): Fix build from source error
fangyinc Mar 12, 2025
150f33b
feat(build): Support docker install (#2442)
Aries-ckt Mar 12, 2025
dc5b1f7
fix: aembed_query type error (#2441)
utopia2077 Mar 12, 2025
361fde6
fix(docker): Fix build arm image bug
fangyinc Mar 12, 2025
130efe3
fix(docker): Fix build arm image bug (#2446)
csunny Mar 12, 2025
c68f627
fix(datasource): Correct the import path for StarRocks dialect
Mar 13, 2025
a115c57
fix(datasource): Correct the import path for StarRocks dialect (#2456)
Aries-ckt Mar 13, 2025
ccfce5d
feat(dbgpt-serve): Agent fixes and parameter additions (#2457)
15089677014 Mar 13, 2025
676d8ec
fix(awel): Fix AWEL flow error (#2461)
fangyinc Mar 14, 2025
8ccd409
feat(awel): Support simple templates
fangyinc Mar 14, 2025
11c544e
feat(awel): Support simple templates (#2463)
csunny Mar 14, 2025
a1c9a16
fix(chat-excel):Explicitly create data tables from the `df` (#2437)
geebytes Mar 13, 2025
9bcc8e2
Merge branch 'bugfix/fix-chat-excel-db-init' into develop
geebytes Mar 14, 2025
9e9308b
feat(build):add vscode devcontainer config
geebytes Mar 14, 2025
6a79c8c
fix (vector store) Database refresh error, vector collection deduplic…
vnicers Mar 14, 2025
b25f692
deps(tongyi): fix tongyi dependencies and add tongyi proxy config
yyhhyyyyyy Mar 14, 2025
9483cba
deps(tongyi): fix tongyi dependencies and add tongyi proxy config
yyhhyyyyyy Mar 14, 2025
f9c00ba
deps: use Tsinghua mirror by default
yyhhyyyyyy Mar 14, 2025
d6eb283
fix(chat-excel):Explicitly create data tables from the `df` (#2437) (…
Aries-ckt Mar 14, 2025
34d86d6
fix(knowledge recall test): Add system_app parameter to knowledgeSpac…
vnicers Mar 15, 2025
6b8e4b5
fix: update API provider from proxy/openai to proxy/tongyi in configu…
yyhhyyyyyy Mar 17, 2025
fc3fe6b
refactor: rag storage refactor (#2434)
Aries-ckt Mar 17, 2025
2ea3521
fix:add tongyi api key config
yyhhyyyyyy Mar 17, 2025
9a82a42
fix:no change for uv.lock
yyhhyyyyyy Mar 17, 2025
0d48f37
deps(tongyi): fix tongyi dependencies and add tongyi proxy config (#2…
Aries-ckt Mar 17, 2025
dbfa2c7
chore: Merge main codes
fangyinc Mar 17, 2025
8eba2a3
feat(web): Support math Latex
fangyinc Mar 16, 2025
b2dd66d
feat(storage): Support oss and s3
fangyinc Mar 17, 2025
9f2e747
fix: Fix retrieve error
fangyinc Mar 17, 2025
82392dc
fix: Fix chroma check exists bug
fangyinc Mar 17, 2025
285c5e5
chore: Add app config example
fangyinc Mar 17, 2025
c460b21
chore: Update uv.lock
fangyinc Mar 17, 2025
f209b4c
feat(core): OSS&S3 Supports (#2477)
Aries-ckt Mar 17, 2025
463d27b
Update milvus_store.py
damonqin Mar 17, 2025
69b71a8
feat:get user info by get_env.sh
geebytes Mar 16, 2025
599ebff
feat(dev):add init env script
geebytes Mar 17, 2025
88bbd69
fix(LLM extractor): handle empty response in LLM extractor (#2480)
vnicers Mar 18, 2025
4376394
fix:issue2484
Aries-ckt Mar 18, 2025
4489f74
feat(model): Support model icon
fangyinc Mar 19, 2025
df045c2
feat(core): Support model icon & i18n (#2486)
csunny Mar 19, 2025
0e9faf4
fix:issue2484 (#2485)
csunny Mar 19, 2025
2d489bf
fix:issue2484
Aries-ckt Mar 19, 2025
3fa7bee
fix:issue2484 (#2488)
csunny Mar 19, 2025
4af28e4
chore(build):add vscode devcontainer config (#2466)
Aries-ckt Mar 19, 2025
52e41bc
ci(SDK): Add 0.7.0 workflow (#2493)
fangyinc Mar 20, 2025
3ce3be6
fix: doris_conn cannot get table comment to store vectordb (#2490)
TenYearOldJAVA Mar 21, 2025
73052ed
feat(agent): Supports MCP (#2497)
yhjun1026 Mar 21, 2025
ca0d1ec
fix: column alias bug fix (#2499)
csunny Mar 21, 2025
e4d91ff
fix(core): Fix param cache error
fangyinc Mar 21, 2025
996f416
fix(core): Fix param cache error (#2500)
csunny Mar 21, 2025
5a35023
fix(test): fix make test failed (#2502)
yyhhyyyyyy Mar 21, 2025
bc6983d
fix: milvus collection search param (#2481)
csunny Mar 21, 2025
2107f47
fix:rag workflow update
Aries-ckt Mar 23, 2025
eccbe2b
Merge remote-tracking branch 'main-com/main' into issue2484
Aries-ckt Mar 23, 2025
d095091
fix:rag workflow error fix
Aries-ckt Mar 23, 2025
4f2903a
chore:fmt
Aries-ckt Mar 23, 2025
d13875c
fix: rag knowledge process workflow template (#2509)
csunny Mar 24, 2025
201e216
fix(log): Modify AWEL init log param (#2510)
15089677014 Mar 24, 2025
59771a0
chore(style): Code format (#2513)
yyhhyyyyyy Mar 24, 2025
7bce2a9
docs: Add 0.7.0 release blog (#2515)
fangyinc Mar 24, 2025
b715cdb
docs: Fix build doc error (#2517)
fangyinc Mar 24, 2025
1ec855f
feat(rerank): add Text Embeddings Inference (TEI) API support for rer…
vnicers Mar 24, 2025
99ce1ed
feat(web): Support html/svg preview (#2518)
fangyinc Mar 25, 2025
e68bdfc
doc: fix a typo in README (#2526)
yihong0618 Mar 25, 2025
10619aa
fix: wrong name close #2530 (#2532)
yihong0618 Mar 26, 2025
7c05bc1
fix: clouse issue #2469 by fixing the type (#2533)
yihong0618 Mar 27, 2025
c86243a
feat(KnowledgeBase):Add Word97-2003 (.doc) Binary File parsing module…
geebytes Mar 29, 2025
b880082
fix: issue 2549 (#2550)
cumbersun Mar 29, 2025
80eef20
fix: some typos using typos
yihong0618 Mar 29, 2025
c68332b
fix: some typos using typos (#2552)
csunny Mar 29, 2025
0bdff7a
fix: fix vllm tokenizer count error (#2555)
csunny Mar 31, 2025
3bfbdc3
feat(agent): More general ReAct Agent (#2556)
fangyinc Mar 31, 2025
beafca5
fix: make tugraph work again (#2551)
yihong0618 Mar 31, 2025
9fce5ce
fix(web): Prevent dragging node when selecting text in parameter inpu…
yyhhyyyyyy Mar 31, 2025
9719c0a
fix(knowledge):Fix KB document questions list check logic (#2565)
vnicers Mar 31, 2025
59e34e2
feat(agent): Compatible with MCP and tools (#2566)
fangyinc Apr 1, 2025
0b66337
fix(web): Fix resource binding bug (#2572)
yyhhyyyyyy Apr 2, 2025
2e0e140
feat(agent): Support MCP authentication
fangyinc Apr 3, 2025
e7b23f6
feat(agent): Support MCP authentication (#2582)
csunny Apr 3, 2025
5dbfb24
Fix ChatWithDbQA param validate (#2569)
chenliang15405 Apr 3, 2025
3ceba89
feat(build): Add git for docker image (#2584)
fangyinc Apr 3, 2025
0fd578c
fix(agents): fix ReActAgent (#2588)
FOkvj Apr 7, 2025
e9ce534
feat(agent): Support SSL/TLS for MCP (#2591)
fangyinc Apr 8, 2025
ae4112c
fix(schema): change flow_data column type from text to longtext (#2590)
vnicers Apr 9, 2025
90e22ac
fix: Bugfix/elasticsearch store read config dict (#2577)
geebytes Apr 9, 2025
babc484
Fix postgresql (#2601)
vnicers Apr 10, 2025
5ddd9e5
fix(model): Fix apiserver error (#2605)
fangyinc Apr 10, 2025
61565f7
fix: the issue is the app_code can't be stored in the chat_history… (…
lijun51888 Apr 11, 2025
12170e2
feat(mode) : Adding the siliconflow embeding proxy (#2603)
lijun51888 Apr 11, 2025
c04e3c7
fix(storage): Fix load big documents error
fangyinc Apr 11, 2025
5d67f16
fix:storage add collection
Aries-ckt Apr 12, 2025
2fad748
chore:fmt
Aries-ckt Apr 12, 2025
0245cfd
fix(storage): Fix load too many chunks error (#2614)
csunny Apr 12, 2025
4c6386a
fix:add create collection method for other vector db.
Aries-ckt Apr 13, 2025
2991c7e
fix:memory create collection bug
Aries-ckt Apr 14, 2025
ac72bb0
Merge remote-tracking branch 'main-com/main' into fix_issue2590
Aries-ckt Apr 15, 2025
5e7f356
feat(model): Multimodal supports (#2627)
fangyinc Apr 15, 2025
7de6937
fix(docs): update doc example code to work (#2624)
chenliang15405 Apr 15, 2025
17b7e5b
feat(model): Support GLM-4-0414 (#2630)
fangyinc Apr 15, 2025
8d66d02
fix:storage add collection bug (#2615)
csunny Apr 15, 2025
129509f
fix connect mssql embedding error (#2589)
dobet Apr 17, 2025
cc28770
fix(reranker)In the recall test scenario, the reranking logic is upda…
Apr 19, 2025
fbfc972
feat(knowledge): integrate reranking functionality into RetrieverReso…
Apr 19, 2025
b0ef14c
fmt(knowledge): reformat retriever resource code
Apr 19, 2025
32b1fd4
feat(knowledge): add reranking functionality for simple_assistant_age…
Apr 21, 2025
a668061
fix(reranker) The rerank model is used during the knowledge base reca…
csunny Apr 21, 2025
3d7d522
feat(model): Proxy multimodal supports (#2641)
fangyinc Apr 21, 2025
a059ef1
fix(agent): Fix long-term memory error
fangyinc Apr 23, 2025
e78d537
fix(agent): Fix long-term memory error (#2644)
csunny Apr 23, 2025
0b3ac35
fix(model): fix remote reranker api & fix long_term memory (#2648)
FOkvj Apr 24, 2025
430235b
Fix Clickhouse SQL syntax error for RdbmsSummary (#2651)
seoibiubiu Apr 24, 2025
1b77ed6
feat(datasource):add oracle datasource (#2629)
luowenwu Apr 27, 2025
445076b
feat: add model provider InfiniAI (#2653)
paxionfull Apr 27, 2025
b16c679
[BUG] RCE Vulnerability in DB-GPT Plugin Upload System (#2649)
geckosecurity Apr 28, 2025
bcb4326
[BUG] SQL Injection through CVE Bypass in DB-GPT 0.7.0 (CVE-2024-1083…
geckosecurity Apr 28, 2025
2abd68d
feat(model): Support Qwen3 models (#2664)
fangyinc Apr 29, 2025
b901cbc
feat(agent): The SQL execution result of the DataScientist can be pas…
vnicers Apr 29, 2025
3a00aca
feat(agent): Optimize agent memory (#2665)
fangyinc Apr 30, 2025
4eb0629
fix(VectorStore): fix task concurrency and batch processing
May 6, 2025
fc6c907
format code
May 6, 2025
421004a
feat(RAG):add tree retriever based on document directory level (#2669)
Aries-ckt May 10, 2025
3a65e1b
fix(VectorStore) fix MilvusStore to use serialize function for metada…
vnicers May 10, 2025
4f39850
feat(model): Add patch for Qwen3 moe (#2676)
fangyinc May 12, 2025
d83704d
fix(VectorStore): fix task concurrency and batch processing issue (#2…
chenliang15405 May 12, 2025
6937b97
feat(model): Support llama.cpp for GLM4-z1 (#2690)
fangyinc May 14, 2025
105a5ad
fix: issue 2685 (#2686)
cumbersun May 15, 2025
6a82d91
feat(web): chat message auto scroll (#2682)
chenliang15405 May 15, 2025
d300a4d
Resolve warnings of logger library (#2681)
emmanuel-ferdman May 15, 2025
0b6d4cb
fix: 修改提示词模板错别字“种”->“中”
china-zhz May 15, 2025
d2429ee
fix: resolve KeyError: 'question' in chat_dashboard prompt template (…
WangzJi May 15, 2025
38174c0
Merge remote-tracking branch 'upstream/main' into fix-修复提示词模板错别字
china-zhz May 15, 2025
11c2ec1
fix: Fix typo (#2696)
chenliang15405 May 15, 2025
c655f55
docs(datasource): integration oracle doc (#2701)
chenliang15405 May 16, 2025
7e7581e
chore: upgrade pandas version (#2705)
chenliang15405 May 20, 2025
637df4e
feat(web): ChartDashboard pie chart interaction and display #2708
WangzJi May 20, 2025
3a423aa
chore(static): Build web static files for pie chart improvements #2708
WangzJi May 20, 2025
f79f81c
feat(flow): Add Chat Data template (#2716)
fangyinc May 22, 2025
cbc28ea
Bugfix(RAG):handle exceptions in aload_document_with_limit results (#…
geebytes May 22, 2025
3dd53e8
feat(web): Dashboard supports Pie Chart visualization (#2709)
chenliang15405 May 22, 2025
946c4aa
chore(core): Remove python-dotenv
fangyinc May 23, 2025
e8291dc
chore(core): Remove python-dotenv (#2721)
chenliang15405 May 23, 2025
22daf08
chore(docs): Update ding group (#2724)
fangyinc May 23, 2025
fe98239
fix(scene): fix chat scene config custom prompt (#2725)
chenliang15405 May 23, 2025
320228a
fix: fix unit test and some code typos (#2717)
chenliang15405 May 23, 2025
a10535d
feat(api): Add chat_dashboard support to V2 API (#2726)
WangzJi May 23, 2025
7e98855
feat(ChatKnowledge):add hybrid search for knowledge space. (#2722)
Aries-ckt May 23, 2025
761c75a
fix(prompt): Initialize prompt templates to ensure all templates are …
WangzJi May 26, 2025
bf21ae3
Fix agent retriever resource (#2719)
FOkvj May 28, 2025
e04b0f9
feat(web): Enhance dashboard visualization and table-chart formatting…
WangzJi May 28, 2025
0188d23
feat(model): Support Qwen2.5 VL models (#2743)
fangyinc May 30, 2025
4afa2b8
chore: Update dependency reference path (#2745)
chenliang15405 Jun 3, 2025
326d6a4
feat(model): Support MiniCPM4-8B (#2754)
fangyinc Jun 9, 2025
569770e
fix: correct argument limit error (#2758)
emmanuel-ferdman Jun 10, 2025
e7c8c3e
docs: update readme (#2760)
chenliang15405 Jun 10, 2025
6d4c527
docs: fix div style (#2761)
chenliang15405 Jun 10, 2025
3f88299
style: fix readme style (#2762)
chenliang15405 Jun 10, 2025
4ad562a
docs: update readme style (#2767)
chenliang15405 Jun 12, 2025
cc81e7a
chore: tag v0.7.2 (#2771)
Aries-ckt Jun 13, 2025
bb947b6
feat(model): Support Qwen3 embeddings (#2772)
fangyinc Jun 14, 2025
9084c6c
fix: Change plan manager prompt in order to avoid calling tools direc…
stevenlx96 Jun 18, 2025
d9d4d4b
feat(model): Support MLX inference (#2781)
fangyinc Jun 19, 2025
c56f881
fix(model): Fix proxy reranker bug (#2783)
fangyinc Jun 20, 2025
4cdbb22
fix(core):Remove SQL comments before formatting the SQL (#2769)
geebytes Jun 23, 2025
d5b8ab2
fix(web): fix checkBox for singleAgent mode (#2785)
chenliang15405 Jun 23, 2025
2ed145c
fix(web): optimize chat message auto scroll (#2792)
chenliang15405 Jun 24, 2025
87ae219
feat(AWEL):Add operator for structured output data of datasource in A…
geebytes Jun 25, 2025
e797808
fix(web): prompt selection and prompt_code delivery for chat_dashboar…
WangzJi Jun 25, 2025
bf6f389
fix(api): fix v2 api error message (#2801)
myworking2012 Jun 27, 2025
f423b1f
chore: update create chroma store param (#2798)
chenliang15405 Jun 27, 2025
1efcd1b
feat(core): Support export messages (#2802)
fangyinc Jun 27, 2025
00af86d
fix: Fix SummaryExtractor not found error (#2805)
jiao-duan Jul 2, 2025
d27fdb7
feat(model): Support GLM4.1-vl model (#2806)
fangyinc Jul 3, 2025
1eea9c8
feat:add storage client cache (#2810)
Aries-ckt Jul 5, 2025
cecac56
fix: Fix milvus vector_name_exists bug (#2818)
HYP-hu Jul 7, 2025
3f60470
fix(web): Fix auto-scroll issue in chat (#2797)
WangzJi Jul 9, 2025
0ecfeab
feat(datasouce): Add GaussDB data source connector (#2813)
vnicers Jul 9, 2025
f364d10
fix(examples): update client usage to prefer await aclose() in async …
huhao0926 Jul 13, 2025
3917f8c
fix(web): resolve overlapping floating buttons in web (#2836)
WangzJi Jul 13, 2025
441cb55
doc: fix ob rag doc (#2840)
Aries-ckt Jul 14, 2025
8c14f19
fix(core): Update Milvus truncate method for GraphRAG (#2847)
stevenlx96 Jul 15, 2025
845432f
feat(model): AI/ML API integration (#2844)
D1m7asis Jul 15, 2025
06de6ea
fix(core): Fix newline escape issue (#2854)
fangyinc Jul 16, 2025
83101f9
fix(dashboard): improve JSON parsing robustness in output parser (#2850)
WangzJi Jul 17, 2025
db2e943
fix(prompt): resolve KeyError and validation issues with custom promp…
WangzJi Jul 17, 2025
934229c
docs: update CONTRIBUTING.md to use uv package manager (#2855)
WangzJi Jul 18, 2025
bcb4eb3
feat(RAG): support knowledgeSpace custom retrieve strategy (#2842)
chenliang15405 Jul 21, 2025
fd65723
feat(agent): Add count field and support non-ASCII characters in Data…
vnicers Jul 23, 2025
3a614c6
chore: update 0.7.3 version (#2860)
chenliang15405 Jul 25, 2025
150e84e
fix(awel): Fix HO context key error (#2862)
fangyinc Jul 25, 2025
154b692
feat(model): Support glm4.5 models (#2867)
fangyinc Jul 29, 2025
26bb07f
fix(web): escape document separator (#2870)
chenliang15405 Aug 1, 2025
4e7070b
fix(RAG): fix url document rag mode (#2874)
chenliang15405 Aug 5, 2025
21896be
fix(datasource): fix doris DB connection use mysql protocol (#2875)
chenliang15405 Aug 7, 2025
ea6cee4
chore: Fix tongyi config example (#2884)
fangyinc Aug 21, 2025
6e304c2
fix(core): Delete corresponding Milvus data when using with TuGraph (…
stevenlx96 Sep 8, 2025
d22023c
✨ feat: add BurnCloud as new AI model provider (#2890)
rustburn Sep 10, 2025
a0f413b
doc:add deep wiki for dbgpt (#2892)
Aries-ckt Sep 20, 2025
49f827c
fix(rag): improve graph storage configuration error message (#2880) (…
kobzevvv Oct 8, 2025
db69d44
fix(ChatKnowledge):Merge sheet cells problem in Excel Knowledge (#2907)
Aries-ckt Oct 13, 2025
6dc80bb
doc: Add Hindi translation for README.md (#2909)
Mishu03 Oct 20, 2025
a46ebbc
docs: Add Tamil translation of README.md (#2914)
Mishu03 Oct 21, 2025
14f40dd
fix: pgvector_store read connection_string from env (#2887)
wxiao1002 Oct 21, 2025
368f422
feat(benchmark): Support Falcon Text2SQL Datasets LLM benchmark (#2918)
chenliang15405 Oct 23, 2025
6bbf8c5
fix:Object of type time is not JSON serializable (#2915)
liuhill Oct 23, 2025
77512ca
chore: update 0.7.4 version (#2919)
chenliang15405 Oct 24, 2025
6ffcf15
feat(plugin): Support sandbox for DB-GPT (#2901)
ymx10086 Oct 30, 2025
1f3daf8
feat(agent): Add data analysis multi-agent application.​​ (#2897)
Hikomorebi Oct 31, 2025
668b4e4
feat(agent): Add excel data manus multi-agent application. (#2904)
ZhikunZheng Oct 31, 2025
f74311f
fix: Add missing file_id parameter to BuiltinKnowledgeGraph.aload_doc…
lusains Nov 4, 2025
4e841e8
Initial commit
johnny5OO Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
80 changes: 80 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
// Set container runtime user
"build": {
"dockerfile": ".devcontainer/Dockerfile.dev",
"context": "./",
"args": {
"USERNAME": "${localEnv:USER}"
},
"options": [
"--no-cache",
"--network=host"
]
},
"updateRemoteUserUID": false,
"remoteUser": "${localEnv:USER}",
"initializeCommand": ".devcontainer/init_env.sh",
"name": "dbgpt",
"workspaceFolder": "/app",
"workspaceMount": "source=${localWorkspaceFolder},target=/app,type=bind",
"runArgs": [
"--network",
"host",
"--runtime=nvidia",
"--gpus",
"all",
"-e",
"LOCAL_DB_HOST=${localEnv:LOCAL_DB_HOST}",
"-e",
"LOCAL_DB_PASSWORD=${localEnv:LOCAL_DB_PASSWORD}",
"-e",
"MYSQL_ROOT_PASSWORD=${localEnv:MYSQL_ROOT_PASSWORD}",
"-e",
"LLM_MODEL=${localEnv:LLM_MODEL}",
"-e",
"LANGUAGE=${localEnv:LANGUAGE}",
"-e",
"PROXY_SERVER_URL=${localEnv:PROXY_SERVER_URL}",
"-e",
"HF_HOME=/app/models"
],
"mounts": [
// sharing-git-credentials see https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials
// This will enable you to work with the repository code using Git inside the Dev container.
"source=${localEnv:SSH_AUTH_SOCK},target=/run/host-services/ssh-auth.sock,type=bind",
// mount to local models
// Persist the model to avoid redundant downloads.
"source=${localWorkspaceFolder}/models,target=/app/models,type=bind"
],
"containerEnv": {
"SSH_AUTH_SOCK": "/run/host-services/ssh-auth.sock"
},
"postCreateCommand": "chmod +x /app/.devcontainer/post-create.sh && /app/.devcontainer/post-create.sh",
"customizations": {
"vscode": {
"settings": {
"extensions.verifySignature": false,
"http.proxyStrictSSL": false,
"python.linting.flake8Enabled": true,
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.shell.linux": "/bin/zsh",
"python.linting.mypyEnabled": true,
"python.linting.provider": "ruff",
"python.formatting.provider": "ruff"
},
"extensions": [
"ms-python.python",
"ms-python.isort",
"ms-python.vscode-pylance",
"ms-python.autopep8",
"ms-vscode.makefile-tools",
"ms-python.flake8",
"ms-azuretools.vscode-docker",
"ms-python.mypy-type-checker",
"charliermarsh.ruff"
]
}
}
}
56 changes: 56 additions & 0 deletions .devcontainer/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
FROM eosphorosai/dbgpt-full:latest
ARG PYTHON_VERSION=3.11
ARG PIP_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
ARG USERNAME
ARG EXTRAS="base,proxy_openai,graph_rag,rag,storage_chromadb, storage_elasticsearch,cuda121,hf,quant_bnb,dbgpts"
ARG DEFAULT_VENV=/opt/.uv.venv
WORKDIR /app
COPY . .
USER root
# Set the GID and UID of the container and
# add a user to prevent permission mismatches
# between the container user (root) and the host user,
# and to resolve the issue of the host user lacking write permissions.
RUN . .devcontainer/.env && \
groupadd -g $USER_GID $GROUPNAME && \
useradd -u $USER_UID -g $USER_GID -m $USERNAME && \
chown -R $USER_UID:$USER_GID /app
RUN apt-get update && apt-get install -y \
git \
curl \
wget \
python${PYTHON_VERSION}-dev \
default-libmysqlclient-dev \
ssh zsh autojump curl git-flow vim sudo \
fonts-wqy-microhei fonts-noto-cjk \
locales \
&& sed -i '/zh_CN.UTF-8/s/^# //g' /etc/locale.gen \
&& locale-gen zh_CN.UTF-8 \
&& update-locale LANG=zh_CN.UTF-8 \
&& python${PYTHON_VERSION} -m pip install --upgrade pip \
&& python${PYTHON_VERSION} -m pip install --upgrade pipx \
&& pipx install -i $PIP_INDEX_URL uv --global \
&& chown -R $USERNAME:$GROUPNAME $DEFAULT_VENV \
&& echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
USER $USERNAME
ENV UV_LINK_MODE=copy \
PIP_INDEX_URL=$PIP_INDEX_URL \
VIRTUAL_ENV=$DEFAULT_VENV \
UV_PROJECT_ENVIRONMENT=$DEFAULT_VENV \
UV_PYTHON=$DEFAULT_VENV/bin/python3 \
UV_INDEX=$PIP_INDEX_URL \
UV_DEFAULT_INDEX=$PIP_INDEX_URL \
LANG=zh_CN.UTF-8 \
LC_ALL=zh_CN.UTF-8

RUN sed -i "s|/app/\.venv|${FINAL_VENV_NAME}|g" /${DEFAULT_VENV}/bin/activate && \
pip config set global.index-url $PIP_INDEX_URL && \
pip config set global.trusted-host $(echo "$PIP_INDEX_URL" | sed -E 's|^https?://([^/]+).*|\1|') && \
. $DEFAULT_VENV/bin/activate && \
extras=$(echo $EXTRAS | tr ',' '\n' | while read extra; do echo "--extra $extra"; done | tr '\n' ' ') && \
uv sync -v --active --all-packages $extras --default-index $PIP_INDEX_URL && \
uv pip -v install --prefix $VIRTUAL_ENV -r requirements/dev-requirements.txt && \
uv pip -v install --prefix $VIRTUAL_ENV -r requirements/lint-requirements.txt && \
cp .devcontainer/dbgpt.pth /opt/.uv.venv/lib/python${PYTHON_VERSION}/site-packages/dbgpt.pth && \
python -c "import dbgpt; print(dbgpt.__version__)"
36 changes: 36 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Developing inside a Container
Use VS Code's ​Dev Container extension to build a containerized development environment. Leverage the eosphorosai/dbgpt:latest image as the development environment to avoid repeated dependency installations and improve development efficiency.
NOTE: **Compatible with Linux and Windows Subsystem for Linux (WSL) environments only.**
# Setup

- Follow the guide [Developing inside a Container](https://code.visualstudio.com/docs/devcontainers/containers) to set up the Dev Container:
- Install the ​**Dev Containers** extension.

- Before the first launch, please execute the .devcontainer/init_env.sh script in the project root directory in **host**
- Create `models` dir in project root and download text2vec-large-chinese to models/text2vec-large-chinese
- Use the shortcut `Ctrl+Shift+P` to open the command palette, then enter `Dev Containers: Open Folder in Container`.

# Develop
After successfully starting the Dev Container, open the terminal

- Activate the virtual environment
```bash
. /opt/.uv.venv/bin/activate
```

- Customize the configuration file

You can copy the configuration file to the `.devcontainer` directory and rename it to `dev.toml` to avoid committing your personal configurations to the repository.
```bash
cp configs/dbgpt-app-config.example.toml .devcontainer/dev.toml
```

- Start the service

```bash
dbgpt start webserver --config .devcontainer/dev.toml
```

# Create A Pull Request

Please refer to [CONTRIBUTING.md](../CONTRIBUTING.md). Before executing the make script or git commit, remember to deactivate the current virtual environment in the development environment.
8 changes: 8 additions & 0 deletions .devcontainer/dbgpt.pth
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/app/packages/dbgpt-app/src
/app/packages/dbgpt-accelerator
/app/packages/dbgpt-accelerator/src
/app/packages/dbgpt-core/src
/app/packages/dbgpt-client/src
/app/packages/dbgpt-ext/src
/app/packages/dbgpt-serve/src
/app/packages/dbgpt-app/src
62 changes: 62 additions & 0 deletions .devcontainer/init_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/usr/bin/env bash
OS=$(uname -s)
USERNAME="$USER"
USER_UID=$(id -u "$USER")

if [ "$OS" = "Linux" ]; then
GROUPNAME=$(id -gn "$USER")
USER_GID=$(id -g "$USER")
else
GROUPNAME="root"
USER_GID="0"
fi

printf "OS=%s\nUSERNAME=%s\nUSER_UID=%s\nGROUPNAME=%s\nUSER_GID=%s\n" \
"$OS" \
"$USERNAME" \
"$USER_UID" \
"$GROUPNAME" \
"$USER_GID" > .devcontainer/.env

# sharing-git-credentials see https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials
init_ssh_agent(){
if [[ -z "$SSH_AUTH_SOCK" || ! -S "$SSH_AUTH_SOCK" ]]; then
RUNNING_AGENT="$(ps -ax | grep '''ssh-agent -s''' | grep -v grep | wc -l)"
if [ "$RUNNING_AGENT" = "0" ]; then
ssh-agent -s &> $HOME/.ssh/ssh-agent
fi
eval $(cat $HOME/.ssh/ssh-agent) > /dev/null
ssh-add 2> /dev/null
echo $SSH_AUTH_SOCK
fi
# Define code block to insert (with unique identifier comment)
SSH_AGENT_CODE='# SSH Agent Auto Management[ID:ssh_agent_v1]
if [[ -z "$SSH_AUTH_SOCK" || ! -S "$SSH_AUTH_SOCK" ]]; then
RUNNING_AGENT="$(ps -ax | grep '\''ssh-agent -s'\'' | grep -v grep | wc -l)"
if [ "$RUNNING_AGENT" = "0" ]; then
ssh-agent -s &> $HOME/.ssh/ssh-agent
fi
eval $(cat $HOME/.ssh/ssh-agent) > /dev/null
ssh-add 2> /dev/null
fi
# END_SSH_AGENT_CODE'

TARGET_FILE="$HOME/.bashrc"

# Create .ssh directory if not exists
mkdir -p "$HOME/.ssh"

# Check for existing code block
if ! grep -q 'END_SSH_AGENT_CODE' "$TARGET_FILE"; then
echo "Adding SSH agent management code to ${TARGET_FILE}..."
echo "$SSH_AGENT_CODE" >> "$TARGET_FILE"
if [[ "$SHELL" == *"zsh"* ]]; then
echo "$SSH_AGENT_CODE" >> "$HOME/.zshrc"
fi
echo "Code added successfully. Please run source ${TARGET_FILE} to apply changes immediately"
else
echo "Existing SSH agent code detected, no need to add again"
fi
}
init_ssh_agent
mkdir -p models
71 changes: 71 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#!/bin/bash
set -e
cd /app

# Install Oh My Zsh with mirror fallback
if [ ! -f ~/.oh-my-zsh/oh-my-zsh.sh ]; then
echo "Installing Oh My Zsh..."
REPO=mirrors/oh-my-zsh REMOTE=https://gitee.com/mirrors/oh-my-zsh.git sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)" "" --unattended
fi

# Install plugins with mirror switching
plugins=(
"zsh-users/zsh-autosuggestions"
"zsh-users/zsh-syntax-highlighting"
)

for plugin in "${plugins[@]}"; do
repo_name=$(basename $plugin)
if [ ! -d ~/.oh-my-zsh/custom/plugins/$repo_name ]; then
echo "Installing plugin: $plugin"
# Clone from GitHub with Gitee mirror fallback
git clone --depth=1 https://github.com/$plugin.git ~/.oh-my-zsh/custom/plugins/$repo_name || \
git clone --depth=1 https://gitee.com/zsh-users/$repo_name.git ~/.oh-my-zsh/custom/plugins/$repo_name
fi
done


# Install theme with mirror fallback
if [ ! -d ~/.oh-my-zsh/custom/themes/powerlevel10k ]; then
echo "Installing powerlevel10k theme..."
# Clone from GitHub with Gitee mirror fallback
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k || \
git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
fi

# Configuration section remains the same...
# Apply custom configuration
if [ -f /app/.devcontainer/zshrc-config ]; then
cp /app/.devcontainer/zshrc-config ~/.zshrc
else
# Generate basic .zshrc if no custom configuration exists
cat << EOF >> ~/.zshrc
export ZSH="\$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting autojump)
source \$ZSH/oh-my-zsh.sh
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
# Enable autojump
[[ -s /usr/share/autojump/autojump.sh ]] && source /usr/share/autojump/autojump.sh
EOF
fi

# Ensure autojump configuration is applied (even if custom configuration exists)
if ! grep -q "autojump.sh" ~/.zshrc; then
echo '[[ -s /usr/share/autojump/autojump.sh ]] && source /usr/share/autojump/autojump.sh' >> ~/.zshrc
fi
cat << EOF >> ~/.zshrc
# Add the following to ~/.zshrc
load_env() {
if [ -f /app/.env ]; then
ENV_CONTENT=$(grep -vE '^#|^$' /app/.env | xargs)
if [ -n "$ENV_CONTENT" ]; then
export $ENV_CONTENT
fi
fi
}
load_env
EOF
rm -rf .venv.make
echo "Post-create setup completed!"
17 changes: 16 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
.env
.git/
./.mypy_cache/
models/
plugins/
pilot/data
pilot/message
logs/
pilot/meta_data/alembic/versions
pilot/meta_data/dbgpt.db
logs/
venv/
.venv/
.venv.make/
web/node_modules/
web/.next/
web/.env
docs/node_modules/
build/
docs/build/
docs/Dockerfile-deploy
Loading