Set retries to 3 for agents that did not have it.

This commit is contained in:
Yiorgis Gozadinos 2026-01-15 17:09:44 +02:00
parent 076f11d4dd
commit e73486b7a8
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@ def create_chat_agent(config: AppConfig) -> Agent[ChatDeps, str]:
deps_type=ChatDeps,
output_type=str,
instructions=CHAT_SYSTEM_PROMPT,
retries=3,
)
@agent.tool

View file

@ -21,6 +21,7 @@ class SearchAgent:
deps_type=SearchDeps,
output_type=str,
instructions=SEARCH_SYSTEM_PROMPT,
retries=3,
)
@self._agent.tool