mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-22 15:35:07 +01:00
Integrate ActionHistory into Agent + BaseAgent
This commit is contained in:
@@ -3,7 +3,7 @@ from autogpt.agents.agent import Agent, execute_command
|
||||
|
||||
def test_agent_initialization(agent: Agent):
|
||||
assert agent.ai_config.ai_name == "Base"
|
||||
assert agent.history.messages == []
|
||||
assert agent.message_history.messages == []
|
||||
assert agent.cycle_budget is None
|
||||
assert "You are Base" in agent.system_prompt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user