fix: removed superfluous create_agent calls (#1000)
This commit is contained in:
@@ -601,7 +601,7 @@ def run(
|
||||
llm_config=llm_config,
|
||||
embedding_config=embedding_config,
|
||||
)
|
||||
ms.create_agent(agent_state)
|
||||
# ms.create_agent(agent_state)
|
||||
|
||||
typer.secho(f"-> 🤖 Using persona profile '{agent_state.persona}'", fg=typer.colors.WHITE)
|
||||
typer.secho(f"-> 🧑 Using human profile '{agent_state.human}'", fg=typer.colors.WHITE)
|
||||
|
||||
@@ -606,7 +606,7 @@ class SyncServer(LockingServer):
|
||||
)
|
||||
# NOTE: you MUST add to the metadata store before creating the agent, otherwise the storage connectors will error on creation
|
||||
# TODO: fix this db dependency and remove
|
||||
self.ms.create_agent(agent_state)
|
||||
# self.ms.create_agent(agent_state)
|
||||
|
||||
logger.debug(f"Attempting to create agent from agent_state:\n{agent_state}")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user