A desktop coding agent with free access to frontier models.
TypeScript
fix: the new engine's output limit follows the engine's default
ogsamrat39619bbaa0d2
diff --git a/apps/server/src/managed-opencode-v2.ts b/apps/server/src/managed-opencode-v2.tsindex 125fd9c7..7f646d0d 100644--- a/apps/server/src/managed-opencode-v2.ts+++ b/apps/server/src/managed-opencode-v2.ts@@ -258,7 +258,8 @@ export async function createManagedOpencodeV2Server(input: modalities.input ?? ["text"],output: modalities.output ?? ["text"],},- limit: config.limit ?? { context: 128_000, output: 8_192 },+ // No catalog limit: the engine's own default, as stock (an output cap of 32000 tokens).+ ...(isRecord(config.limit) ? { limit: config.limit } : {}),...(typeof config.family === "string" ? { family: config.family } : {}),...(isRecord(config.options) ? { settings: config.options } : {}),...(isRecord(config.headers) ? { headers: config.headers } : {}),