feat: increase max agent turns to 15 to allow model to conclude and summarize
This commit is contained in:
@@ -169,8 +169,8 @@ class SwarmAgent:
|
|||||||
feedback_steps = []
|
feedback_steps = []
|
||||||
final_text = ""
|
final_text = ""
|
||||||
|
|
||||||
# Loop de multi-turn de ferramentas (máximo 7 iterações)
|
# Loop de multi-turn de ferramentas (máximo 15 iterações)
|
||||||
for turn in range(7):
|
for turn in range(15):
|
||||||
print(f" [>] Iniciando turno {turn + 1} com o cérebro Gemini...")
|
print(f" [>] Iniciando turno {turn + 1} com o cérebro Gemini...")
|
||||||
try:
|
try:
|
||||||
response = self.call_gemini(contents, system_instruction, api_key)
|
response = self.call_gemini(contents, system_instruction, api_key)
|
||||||
|
|||||||
Reference in New Issue
Block a user