fix: enable_session_persistence in AgentConfig should be optional

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
Yuan Tang 2025-02-07 14:19:56 -05:00 committed by Ashwin Bharambe
parent 314ee09ae3
commit 23cb49f53e

View file

@ -179,7 +179,7 @@ class AgentConfigCommon(BaseModel):
class AgentConfig(AgentConfigCommon): class AgentConfig(AgentConfigCommon):
model: str model: str
instructions: str instructions: str
enable_session_persistence: bool enable_session_persistence: Optional[bool] = False
response_format: Optional[ResponseFormat] = None response_format: Optional[ResponseFormat] = None