Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Passed Zoekt index parameters via argv to preserve revision names with punctuation. [#1376](https://github.com/sourcebot-dev/sourcebot/pull/1376)
- [EE] Validated OAuth bearer token scopes before allowing access to the Sourcebot MCP resource server. [#1396](https://github.com/sourcebot-dev/sourcebot/pull/1396)
- Added HTTP security headers to all web app responses. [#1407](https://github.com/sourcebot-dev/sourcebot/pull/1407)
- Dropped `displayName` from `getLanguageModelKey` so the MCP `ask_codebase` tool matches models by `provider` + `model` only, fixing `400 Language model not configured` when an explicit model is selected. [#1408](https://github.com/sourcebot-dev/sourcebot/pull/1408)

## [5.0.4] - 2026-06-18

Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/features/chat/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ export const getAnswerPartFromAssistantMessage = (message: SBChatMessage, isTurn
* identifying fields, so both the full `LanguageModel` config and the
* client-safe `LanguageModelInfo` can be keyed with it.
*/
export const getLanguageModelKey = (model: Pick<LanguageModelInfo, 'provider' | 'model' | 'displayName'>) => {
return `${model.provider}-${model.model}-${model.displayName}`;
export const getLanguageModelKey = (model: Pick<LanguageModelInfo, 'provider' | 'model'>) => {
return `${model.provider}-${model.model}`;
}

/**
Expand Down