const MODELS_PREFER_REASONING_SUMMARY = new Set([
    'DeepSeek-R1',
    'Pro/MiniMaxAI/MiniMax-M2.5',
    'Pro/deepseek-ai/DeepSeek-R1',
    'Pro/moonshotai/Kimi-K2-Thinking',
    'Pro/moonshotai/Kimi-K2.5',
    'Pro/zai-org/GLM-4.7',
    'Pro/zai-org/GLM-5',
    'anthropic/claude-opus-4',
    'anthropic/claude-opus-4.1',
    'anthropic/claude-opus-4.5',
    'anthropic/claude-opus-4.6',
    'anthropic/claude-sonnet-4',
    'anthropic/claude-sonnet-4.5',
    'anthropic/claude-sonnet-4.6',
    'claude-opus-4-0',
    'claude-opus-4-1',
    'claude-opus-4-1-20250805',
    'claude-opus-4-20250514',
    'claude-opus-4-5',
    'claude-opus-4-5-20251101',
    'claude-opus-4-5-think',
    'claude-opus-4-6',
    'claude-opus-4-6-think',
    'claude-sonnet-4-0',
    'claude-sonnet-4-20250514',
    'claude-sonnet-4-5',
    'claude-sonnet-4-5-20250929',
    'claude-sonnet-4-5-think',
    'claude-sonnet-4-6',
    'claude-sonnet-4-6-think',
    'deepseek-ai/DeepSeek-R1',
    'deepseek-reasoner',
    'deepseek/deepseek-r1',
    'deepseek/deepseek-r1-0528',
    'deepseek/deepseek-reasoner',
    'deepseek/deepseek-v3.2',
    'gemini-2.5-flash',
    'gemini-2.5-flash-lite',
    'gemini-2.5-flash-lite-nothink',
    'gemini-2.5-flash-lite-preview-06-17',
    'gemini-2.5-flash-lite-preview-09-2025',
    'gemini-2.5-flash-lite-preview-09-2025-nothink',
    'gemini-2.5-flash-nothink',
    'gemini-2.5-flash-preview-04-17',
    'gemini-2.5-flash-preview-05-20',
    'gemini-2.5-flash-preview-05-20-nothink',
    'gemini-2.5-flash-preview-05-20-search',
    'gemini-2.5-flash-preview-09-2025',
    'gemini-2.5-flash-search',
    'gemini-2.5-pro',
    'gemini-2.5-pro-exp-03-25',
    'gemini-2.5-pro-preview-03-25',
    'gemini-2.5-pro-preview-03-25-search',
    'gemini-2.5-pro-preview-05-06',
    'gemini-2.5-pro-preview-05-06-search',
    'gemini-2.5-pro-preview-06-05',
    'gemini-2.5-pro-preview-06-05-search',
    'gemini-2.5-pro-preview-tts',
    'gemini-2.5-pro-search',
    'gemini-3-flash-preview',
    'gemini-3-flash-preview-free',
    'gemini-3-flash-preview-search',
    'gemini-3-pro-image-preview',
    'gemini-3-pro-preview',
    'gemini-3.1-pro-preview',
    'gemini-3.1-pro-preview-customtools',
    'gemini-3.1-pro-preview-search',
    'glm-4.7',
    'glm-5',
    'glm-5-turbo',
    'glm-5.1',
    'glm-5v-turbo',
    'google/gemini-2.5-flash',
    'google/gemini-2.5-flash-lite',
    'google/gemini-2.5-flash-lite-preview-09-2025',
    'google/gemini-2.5-pro',
    'google/gemini-2.5-pro-preview',
    'google/gemini-2.5-pro-preview-05-06',
    'google/gemini-3-flash-preview',
    'google/gemini-3-pro-image-preview',
    'google/gemini-3.1-pro-preview',
    'google/gemini-3.1-pro-preview-customtools',
    'kimi-k2-thinking',
    'kimi-k2-thinking-turbo',
    'kimi-k2.5',
    'moonshotai/Kimi-K2-Thinking',
    'moonshotai/Kimi-K2.5',
    'moonshotai/kimi-k2-thinking',
    'moonshotai/kimi-k2.5',
    'qwen/qwen3-14b',
    'qwen/qwen3.6-plus',
    'tencent/hunyuan-2.0-thinking',
    'z-ai/glm-4.7',
    'z-ai/glm-4.7-flashx',
    'z-ai/glm-5',
    'z-ai/glm-5v-turbo',
    'zai-org/GLM-4.7',
    'zai-org/GLM-5',
    'zai-org/glm-4.7',
    'zai-org/glm-5',
]);
export function modelPrefersReasoningSummary(modelId) {
    const normalized = String(modelId ?? '').trim();
    if (!normalized)
        return false;
    if (MODELS_PREFER_REASONING_SUMMARY.has(normalized))
        return true;
    const parts = normalized
        .split('/')
        .map(part => part.trim())
        .filter(Boolean);
    if (!parts.length)
        return false;
    const tail = parts[parts.length - 1];
    return Boolean(tail) && MODELS_PREFER_REASONING_SUMMARY.has(tail);
}
//# sourceMappingURL=model-prefers-reasoning-summary.js.map