Skip to content

Conversation

@vglafirov
Copy link
Contributor

@vglafirov vglafirov commented Jan 22, 2026

The output limit was set to 4,096 tokens which caused tool calls with large content (like file generation) to be truncated mid-JSON.

Updated to match standard Anthropic model limits:

  • duo-chat-opus-4-5: 4,096 → 64,000
  • duo-chat-sonnet-4-5: 4,096 → 64,000
  • duo-chat-haiku-4-5: 4,096 → 64,000

Also adjusting other parameters to match the models definitions.

The output limit was set to 4,096 tokens which caused tool calls with
large content (like file generation) to be truncated mid-JSON.

Updated to match standard Anthropic model limits:
- duo-chat-opus-4-5: 4,096 → 64,000
- duo-chat-sonnet-4-5: 4,096 → 64,000
- duo-chat-haiku-4-5: 4,096 → 64,000
@vglafirov
Copy link
Contributor Author

Related issue: anomalyco/opencode#9331

@opencode-agent
Copy link
Contributor

User vglafirov does not have write permissions

github run

Updated to match native Anthropic model definitions:
- attachment: false → true (supports image/pdf attachments)
- reasoning: false → true (supports extended thinking)
- modalities.input: ["text"] → ["text", "image", "pdf"]
- Added knowledge cutoff dates from native models
@rekram1-node rekram1-node merged commit 830a03e into anomalyco:dev Jan 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants