fix: clean extra file & fix agents use zhipu (#1079)

This commit is contained in:
magic.chen
2024-01-17 12:17:48 +08:00
committed by GitHub
parent 9bdb4f94b8
commit 674104eb7c
14 changed files with 78 additions and 109 deletions

View File

@@ -110,7 +110,7 @@ class MultiAgents(BaseComponent, ABC):
worker_manager = CFG.SYSTEM_APP.get_component(
ComponentType.WORKER_MANAGER_FACTORY, WorkerManagerFactory
).create()
llm_task = DefaultLLMClient(worker_manager)
llm_task = DefaultLLMClient(worker_manager, auto_convert_message=True)
context: AgentContext = AgentContext(conv_id=conv_id, llm_provider=llm_task)
context.gpts_name = gpts_instance.gpts_name
context.resource_db = resource_db