sshiv012 commented on code in PR #9603:
URL: https://github.com/apache/texera/pull/9603#discussion_r4661998822
##########
agent-service/src/types/agent.ts:
##########
@@ -85,7 +85,10 @@ export const DEFAULT_AGENT_SETTINGS: Omit<AgentSettings,
"systemPrompt"> = {
operatorResultSerializationMode: OperatorResultSerializationMode.TSV,
toolTimeoutMs: 240000,
executionTimeoutMs: 240000,
- maxSteps: 100,
+ // Model calls allowed per user message. Real turns take about 3 and the
largest measured took
+ // 13, while a looping agent stops only at this limit, so it stays close to
real use and inside
+ // the 1-50 range the settings dialog offers.
+ maxSteps: 25,
Review Comment:
NVM, just saw the discussion about #9593 has the agent tell the user when a
turn stops at the step limit, instead of ending without a word. (1) doesn't
apply to this PR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]