Skip to content

Conversation

@junmediatek
Copy link
Contributor

@junmediatek junmediatek commented Dec 17, 2025

Currently, the default max output token for opencode is 32,000, however, the latest models such as GPT, Gemini, and Claude now support max output tokens exceeding 64,000, so the current setting of 32,000 is no longer suitable.

Therefore, it is necessary to add a method to modify the max output token.

@junmediatek junmediatek force-pushed the feat/output-token-max-env branch from 89f0d42 to 3c59eec Compare December 17, 2025 08:44
@junmediatek
Copy link
Contributor Author

@rekram1-node could you help to check this PR?

@rekram1-node rekram1-node changed the title Feat/output token max env add OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX to override 32k default Dec 17, 2025
@rekram1-node
Copy link
Collaborator

lgtm

@rekram1-node rekram1-node merged commit 1e4bfbc into sst:dev Dec 17, 2025
3 checks 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