AI_APICallError: temperature and top_p cannot both be specified for this model. Please use only one. #1127

Closed
opened 2026-02-16 17:29:33 -05:00 by yindo · 1 comment
Owner

Originally created by @cvzakharchenko on GitHub (Aug 6, 2025).

Originally assigned to: @thdxr on GitHub.

This happens with the new Claude 4.1 Opus, using Anthropic as a provider.
I have a custom temperature specified in the config, but not the top_p parameter.
The same config works with the old Claude 4 Opus.

Originally created by @cvzakharchenko on GitHub (Aug 6, 2025). Originally assigned to: @thdxr on GitHub. This happens with the new Claude 4.1 Opus, using Anthropic as a provider. I have a custom temperature specified in the config, but not the top_p parameter. The same config works with the old Claude 4 Opus.
yindo closed this issue 2026-02-16 17:29:33 -05:00
Author
Owner

@thdxr commented on GitHub (Aug 6, 2025):

this might be from having run opencode in the opencode repo - was picking up that demo plugin

@thdxr commented on GitHub (Aug 6, 2025): this might be from having run opencode in the opencode repo - was picking up that demo plugin
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1127