feat(llms): update model list; update patch
This commit is contained in:
@@ -163,6 +163,7 @@ export function modelPatch(body: Record<string, any>, baseURL?: string) {
|
|||||||
let reasoningEnabled = true
|
let reasoningEnabled = true
|
||||||
if (body.thinking?.type === 'disabled') reasoningEnabled = false
|
if (body.thinking?.type === 'disabled') reasoningEnabled = false
|
||||||
if (body.enable_thinking === false) reasoningEnabled = false
|
if (body.enable_thinking === false) reasoningEnabled = false
|
||||||
|
if (reasoningEffort === 'none') reasoningEnabled = false
|
||||||
|
|
||||||
body.reasoning = { enabled: reasoningEnabled }
|
body.reasoning = { enabled: reasoningEnabled }
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import { Heading } from '@/components/Heading'
|
|||||||
import { useLanguage } from '@/i18n/context'
|
import { useLanguage } from '@/i18n/context'
|
||||||
|
|
||||||
const BASELINE = new Set([
|
const BASELINE = new Set([
|
||||||
'gpt-5.1',
|
|
||||||
'gpt-5.4-mini',
|
'gpt-5.4-mini',
|
||||||
|
'gpt-5.4-nano',
|
||||||
'claude-haiku-4-5',
|
'claude-haiku-4-5',
|
||||||
'gemini-3.5-flash',
|
'gemini-3.5-flash',
|
||||||
'deepseek-v4-flash',
|
'deepseek-v4-flash',
|
||||||
@@ -26,6 +26,7 @@ const MODEL_GROUPS: Record<string, string[]> = {
|
|||||||
'qwen3.5-plus',
|
'qwen3.5-plus',
|
||||||
'qwen3.5-flash',
|
'qwen3.5-flash',
|
||||||
'qwen3-max',
|
'qwen3-max',
|
||||||
|
// 'qwen3-coder-next', // low success rate
|
||||||
],
|
],
|
||||||
OpenAI: [
|
OpenAI: [
|
||||||
'gpt-5.5',
|
'gpt-5.5',
|
||||||
@@ -49,6 +50,7 @@ const MODEL_GROUPS: Record<string, string[]> = {
|
|||||||
],
|
],
|
||||||
Anthropic: [
|
Anthropic: [
|
||||||
'claude-sonnet-5',
|
'claude-sonnet-5',
|
||||||
|
'claude-fable-5',
|
||||||
'claude-opus-4-8',
|
'claude-opus-4-8',
|
||||||
'claude-opus-4-7',
|
'claude-opus-4-7',
|
||||||
'claude-opus-4-6',
|
'claude-opus-4-6',
|
||||||
@@ -56,7 +58,11 @@ const MODEL_GROUPS: Record<string, string[]> = {
|
|||||||
'claude-sonnet-4-5',
|
'claude-sonnet-4-5',
|
||||||
'claude-haiku-4-5',
|
'claude-haiku-4-5',
|
||||||
],
|
],
|
||||||
MiniMax: ['MiniMax-M3', 'MiniMax-M2.7', 'MiniMax-M2.5'],
|
MiniMax: [
|
||||||
|
// 'MiniMax-M3', low success rate
|
||||||
|
'MiniMax-M2.7',
|
||||||
|
'MiniMax-M2.5',
|
||||||
|
],
|
||||||
xAI: ['grok-4.3', 'grok-build-0.1'],
|
xAI: ['grok-4.3', 'grok-build-0.1'],
|
||||||
MoonshotAI: ['kimi-k2.7-code', 'kimi-k2.6', 'kimi-k2.5'],
|
MoonshotAI: ['kimi-k2.7-code', 'kimi-k2.6', 'kimi-k2.5'],
|
||||||
'Z.AI': ['glm-5.2', 'glm-5.1', 'glm-5', 'glm-4.7'],
|
'Z.AI': ['glm-5.2', 'glm-5.1', 'glm-5', 'glm-4.7'],
|
||||||
|
|||||||
Reference in New Issue
Block a user