mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
feat: 添加工具类增强与状态管理改进
- 新增 workflowRuns、remoteTriggerAudit、pipeStatus 等工具 - 增强 permissionSetup: auto mode 和 bypass permissions 始终可用 - 新增多组测试覆盖 (modifiers, teamDiscovery, deepLink 等) - 修复 parseInt 缺少 radix 参数 - 移除多余 biome-ignore 注释 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -118,10 +118,14 @@ export function modelSupportsAdaptiveThinking(model: string): boolean {
|
||||
}
|
||||
const canonical = getCanonicalName(model)
|
||||
// Supported by a subset of Claude 4 models
|
||||
if (canonical.includes('opus-4-6') || canonical.includes('sonnet-4-6')) {
|
||||
if (
|
||||
canonical.includes('opus-4-7') ||
|
||||
canonical.includes('opus-4-6') ||
|
||||
canonical.includes('sonnet-4-6')
|
||||
) {
|
||||
return true
|
||||
}
|
||||
// Exclude any other known legacy models (allowlist above catches 4-6 variants first)
|
||||
// Exclude any other known legacy models (allowlist above catches 4-6+ variants first)
|
||||
if (
|
||||
canonical.includes('opus') ||
|
||||
canonical.includes('sonnet') ||
|
||||
|
||||
Reference in New Issue
Block a user