Skip to content

fix(chat): restore composer choices per conversation - #1127

Open
crispinhu27 wants to merge 1 commit into
mainfrom
fix/chat-composer-options
Open

crispinhu27 wants to merge 1 commit into
mainfrom
fix/chat-composer-options

Conversation

@crispinhu27

Copy link
Copy Markdown
Collaborator

What changed

  • Restore the model and reasoning effort selected in an existing conversation, including choices made before sending. A model change in another conversation affects the default for new conversations on that CLI.
  • Store approval mode per browser account and conversation. A draft's chosen mode follows its first message into the saved conversation.
  • Display the saved model ID when its catalog name is unavailable.

Scope

  • Shared behavior contract for the conversation composer

Compatibility

Saved conversations supply the initial model and effort. Existing browser preferences for each CLI and model still apply to new conversations. A conversation starts at Request approval until the user chooses its approval mode.

Validation

  • npm --prefix chatbot run coverage passed 405 tests.
  • npm --prefix chatbot run build passed.
  • Local Chrome with mocked APIs verified conversation switching, refresh, draft approval transfer, and the model, effort, and approval values sent to the API.
  • git diff --check passed.

Safety

  • The diff contains the composer changes, regression tests, and behavior documentation.
  • Browser checks used synthetic conversations and model IDs.

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