diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c75db3a7..95d2d83c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Documented session lifetime, repository visibility refresh behavior, and how permission sync handles transient code-host errors. [#1218](https://github.com/sourcebot-dev/sourcebot/pull/1218) +### Fixed +- Fixed issue where claude-opus-4-8 was returning "error occurred "thinking.type.enabled" is not supported for this model". [#1249](https://github.com/sourcebot-dev/sourcebot/pull/1249) + ## [4.17.3] - 2026-05-22 ### Fixed diff --git a/packages/web/src/features/chat/utils.server.ts b/packages/web/src/features/chat/utils.server.ts index 9d00459f4..6c96e7f10 100644 --- a/packages/web/src/features/chat/utils.server.ts +++ b/packages/web/src/features/chat/utils.server.ts @@ -211,7 +211,8 @@ export const getAISDKLanguageModelAndOptions = async (config: LanguageModel): Pr }); const isAdaptiveThinkingSupported = - modelId.startsWith('claude-opus-4-7'); + modelId.startsWith('claude-opus-4-7') || + modelId.startsWith('claude-opus-4-8'); return { model: anthropic(modelId),