Skip to content

Building AI agents, atomically

Removed default value from max_tokens

Ivan Saorin389c2a8c3443
diff --git a/atomic-agents/atomic_agents/agents/base_agent.py b/atomic-agents/atomic_agents/agents/base_agent.py
index b1b9012..d45f6fd 100644
--- a/atomic-agents/atomic_agents/agents/base_agent.py
+++ b/atomic-agents/atomic_agents/agents/base_agent.py
@@ -74,8 +74,8 @@ class BaseAgentConfig(BaseModel):
description="Temperature for response generation, typically ranging from 0 to 1.",
)
max_tokens: Optional[int] = Field(
- 2048,
- description="Maximum number of token allowed in the response generation, typically ranging from 1024.",
+ None,
+ description="Maximum number of token allowed in the response generation, is any.",
)
class BaseAgent: