You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent temperature parameter is not passed to LLM API requests #34405
The temperature parameter configured for a specific agent in opencode.json is not taking effect. When the agent sends a request through the custom model API (myprovider/MiniMax-M2.7), the temperature parameter is not included in the API request.
Expected behavior
When agent.build.temperature is configured, these parameters should be passed to the corresponding LLM API request.
Activity
github-actions commentedon Jun 29, 2026
This issue might be a duplicate of existing issues. Please check:
agent.build.temperaturenot included in API request when using@ai-sdk/openai-compatible)tool_choice) are accepted without error but silently dropped, which may share the same root causeXre0uS commentedon Jul 26, 2026
Also ran into this on version 1.18.4 with my own provider, on Linux.
The issue is silent, the schema accepts the field, debug config shows it, and output is fine, just non-deterministic while temperature is set to 0.
github-actions commentedon Sep 25, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.