fix: Deprecate in memory function stores in agent.py (#2271)

This commit is contained in:
Matthew Zhou
2024-12-17 16:18:11 -08:00
committed by GitHub
parent 7fb8f16155
commit 9a0ffc84dd
7 changed files with 94 additions and 127 deletions

View File

@@ -110,8 +110,7 @@ def check_first_response_is_valid_for_llm_endpoint(filename: str) -> ChatComplet
llm_config=agent_state.llm_config,
user_id=str(uuid.UUID(int=1)), # dummy user_id
messages=agent._messages,
functions=agent.functions,
functions_python=agent.functions_python,
functions=[t.json_schema for t in agent.agent_state.tools],
)
# Basic check