feat(ai): add max thinking level

This commit is contained in:
Mario Zechner
2026-07-09 22:30:53 +02:00
parent 8973ae28ab
commit fbdd46389c
61 changed files with 441 additions and 168 deletions
+9 -7
View File
@@ -30,7 +30,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen",
compat: {"forceAdaptiveThinking":true},
reasoning: true,
thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
thinkingLevelMap: {"off":null,"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
input: 10,
@@ -100,7 +100,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen",
compat: {"forceAdaptiveThinking":true},
reasoning: true,
thinkingLevelMap: {"xhigh":"max"},
thinkingLevelMap: {"max":"max"},
input: ["text", "image"],
cost: {
input: 5,
@@ -119,7 +119,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen",
compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh"},
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
input: 5,
@@ -138,7 +138,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen",
compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh"},
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
input: 5,
@@ -191,6 +191,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen",
compat: {"forceAdaptiveThinking":true},
reasoning: true,
thinkingLevelMap: {"max":"max"},
input: ["text", "image"],
cost: {
input: 3,
@@ -209,6 +210,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen",
compat: {"forceAdaptiveThinking":true},
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
input: 2,
@@ -227,7 +229,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen/v1",
compat: {"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","supportsLongCacheRetention":false,"requiresReasoningContentOnAssistantMessages":true},
reasoning: true,
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},
input: ["text"],
cost: {
input: 0.14,
@@ -246,7 +248,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen/v1",
compat: {"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true},
reasoning: true,
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},
input: ["text"],
cost: {
input: 0,
@@ -265,7 +267,7 @@ export const OPENCODE_MODELS = {
baseUrl: "https://opencode.ai/zen/v1",
compat: {"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens","supportsLongCacheRetention":false,"requiresReasoningContentOnAssistantMessages":true},
reasoning: true,
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},
input: ["text"],
cost: {
input: 1.74,