gpsandhu23 / TARS

Personal AI helper
0 stars 0 forks source link

fix agent unittests #54

Closed gpsandhu23 closed 5 months ago

sweep-ai[bot] commented 5 months ago

Sweep: PR Review

TARS/graphs/agent.py

The changes introduce a validation check for the user_task parameter and remove the standalone script execution block.


TARS/tests/graphs/test_agent.py

Added an import statement for ChatPromptTemplate to support a new test case validating the define_prompt method of AgentManager.