Allow QA agent to retry
This commit is contained in:
parent
99463cc39b
commit
cf2af489b5
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ class QuestionAnswerAgent:
|
||||||
model=model_obj,
|
model=model_obj,
|
||||||
deps_type=Dependencies,
|
deps_type=Dependencies,
|
||||||
system_prompt=system_prompt,
|
system_prompt=system_prompt,
|
||||||
|
retries=3,
|
||||||
)
|
)
|
||||||
|
|
||||||
@self._agent.tool
|
@self._agent.tool
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue