mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-07 03:50:42 +00:00
feat(agent): Multi agent sdk (#976)
Co-authored-by: xtyuns <xtyuns@163.com> Co-authored-by: Fangyin Cheng <staneyffer@gmail.com> Co-authored-by: csunny <cfqsunny@163.com> Co-authored-by: qidanrui <qidanrui@gmail.com>
This commit is contained in:
@@ -34,10 +34,14 @@ def initialize_components(
|
||||
|
||||
# system_app.register(DefaultRAGGraphFactory)
|
||||
|
||||
from dbgpt.agent.controller import module_agent
|
||||
from dbgpt.serve.agent.hub.controller import module_agent
|
||||
|
||||
system_app.register_instance(module_agent)
|
||||
|
||||
from dbgpt.serve.agent.agents.controller import multi_agents
|
||||
|
||||
system_app.register_instance(multi_agents)
|
||||
|
||||
_initialize_embedding_model(
|
||||
param, system_app, embedding_model_name, embedding_model_path
|
||||
)
|
||||
|
Reference in New Issue
Block a user