add OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX to override 32k default (#5679)

Co-authored-by: qio <handsomehust@gmail.com>
This commit is contained in:
Qio
2025-12-18 00:35:43 +08:00
committed by GitHub
parent 375b46e241
commit 25b27fb21a
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import { Flag } from "@/flag/flag"
export namespace LLM {
const log = Log.create({ service: "llm" })
export const OUTPUT_TOKEN_MAX = 32_000
export const OUTPUT_TOKEN_MAX = Flag.OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX || 32_000
export type StreamInput = {
user: MessageV2.User