Skip to content

refactor: Increase Max Chat Completion Iterations default threshold from 10 to 50#125

Merged
edenreich merged 2 commits intomainfrom
claude/issue-123-20251213-2154
Dec 13, 2025
Merged

refactor: Increase Max Chat Completion Iterations default threshold from 10 to 50#125
edenreich merged 2 commits intomainfrom
claude/issue-123-20251213-2154

Conversation

@edenreich
Copy link
Copy Markdown
Contributor

This PR addresses issue #123

Generated with Claude Code

This change improves the out-of-the-box experience for complex agentic
tasks by increasing the default maximum chat completion iterations from
10 to 50. This prevents premature task cancellation during multi-step
workflows such as web scraping with multiple pages or complex data
processing operations.

Changes:
- Updated default value in server/config/config.go (10 → 50)
- Updated default value in server/agent_builder.go (10 → 50)
- Updated default value in server/agent.go (10 → 50)
- Updated documentation in README.md to reflect new default
- Updated all test files to expect the new default value of 50
- Verified Config.Validate() still enforces minimum of 1 iteration
- Verified backward compatibility: environment variable override works

Fixes #123

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
@edenreich edenreich changed the title refactor: Changes from Claude refactor: Increase Max Chat Completion Iterations default threshold from 10 to 50 Dec 13, 2025
@edenreich edenreich merged commit e871791 into main Dec 13, 2025
1 check passed
@edenreich edenreich deleted the claude/issue-123-20251213-2154 branch December 13, 2025 22:02
ig-semantic-release-bot bot added a commit that referenced this pull request Dec 13, 2025
## [0.16.2](v0.16.1...v0.16.2) (2025-12-13)

### ♻️ Improvements

* Increase Max Chat Completion Iterations default threshold from 10 to 50 ([#125](#125)) ([e871791](e871791)), closes [#123](#123)
@ig-semantic-release-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.16.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants