Skip to content

feat(ai): support model selection for AI chat panel - #3047

Merged
abose merged 5 commits into
mainfrom
ai
Jul 27, 2026
Merged

feat(ai): support model selection for AI chat panel#3047
abose merged 5 commits into
mainfrom
ai

Conversation

@abose

@abose abose commented Jul 27, 2026

Copy link
Copy Markdown
Member

Node side: fetch the SDK's supportedModels() list once per process from the first live query (aiModelList event + getSupportedModels peer), and emit aiSessionInfo with the session's resolved model from the init message so the browser can learn what "Default" actually resolves to.

Styles: hover-revealed model switcher in the chat header, two-line item layout for the DropdownButton popup, and the mid-conversation model switch notice.

Strings: AI_CHAT_MODEL_* keys for the switcher, placeholder and notice.

image

abose added 5 commits July 27, 2026 13:03
Node side: fetch the SDK's supportedModels() list once per process from
the first live query (aiModelList event + getSupportedModels peer), and
emit aiSessionInfo with the session's resolved model from the init
message so the browser can learn what "Default" actually resolves to.

Styles: hover-revealed model switcher in the chat header, two-line item
layout for the DropdownButton popup, and the mid-conversation model
switch notice.

Strings: AI_CHAT_MODEL_* keys for the switcher, placeholder and notice.
Expired/revoked OAuth logins only fail at request time — auth status
still reports logged in, so the panel previously showed a bare
"exited with error code" message. Classify auth failures in the query
error path (isAuthError on the aiError event) and add strings/styles
for the re-login notice, terminal button and /login hint. API-key
providers keep the existing settings-dialog hint instead.
@sonarqubecloud

Copy link
Copy Markdown

@abose
abose merged commit 530a3ac into main Jul 27, 2026
12 of 21 checks passed
@abose
abose deleted the ai branch July 27, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant