이대희
1043f4a86a
git_ui: Add commit message model picker ( #50674 )
...
## Summary
Reworked per review to reuse the shared `LanguageModelSelector` instead
of a custom dropdown.
- The generate-commit-message button is now a split button: the primary
click generates, the chevron opens the same picker the Agent Panel uses
and saves to `agent.commit_message_model`.
- The picker lives in a new `language_model_selector` crate, moved out
of `agent_ui`, so `git_ui` can use it without a feature-crate dependency
the workspace forbids. `agent_ui` re-exports the moved items.
- The chevron stays enabled with no model configured, so a model can be
picked from there.
## Verification
- `cargo test` and `./script/clippy` pass for `language_model_selector`,
`agent_ui`, `git_ui`, `settings_content`, and `xtask`, including the
workspace dependency-direction test.
- Clicked through a debug build on Linux (NVIDIA GPU) with a real model
behind an OpenAI-compatible endpoint: the picker opens, searches, and
persists the selection; generating streams a message into the commit
editor in both the Git Panel and the commit modal; with no provider
configured, generate is disabled and the chevron still opens the picker.
### Showcase
https://github.com/user-attachments/assets/23812839-6d95-4167-b437-af7976655423
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Release Notes:
- Improved the Git Panel's commit editor with a picker that allows
selecting the model to be used for commit message generation.
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com >
Co-authored-by: dino <dinojoaocosta@gmail.com >
2026-11-18 13:23:57 +00:00
..
2026-11-18 12:56:01 +00:00
2026-11-02 15:26:50 +00:00
2026-11-17 07:17:22 +00:00
2026-11-14 22:52:04 +00:00
2026-11-06 19:51:13 +00:00
2026-11-18 13:23:57 +00:00
2026-11-10 13:34:40 +00:00
2026-10-07 16:40:00 +00:00
2026-11-18 12:22:00 +00:00
2026-10-26 09:53:33 +00:00
2026-10-13 14:09:05 +00:00
2026-10-29 09:12:10 +00:00
2026-10-09 14:57:03 +00:00
2026-10-05 12:44:26 +00:00
2026-10-15 18:48:40 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-11-18 09:49:23 +00:00
2026-11-03 21:30:48 +00:00
2026-11-18 09:49:23 +00:00
2026-11-11 19:41:39 +00:00
2026-11-18 09:49:23 +00:00
2026-10-05 12:44:26 +00:00
2026-10-05 12:44:26 +00:00
2026-11-03 22:49:20 +00:00
2026-11-05 10:31:08 +00:00
2026-11-13 11:45:35 +00:00
2026-11-18 09:49:23 +00:00
2026-10-22 11:49:45 +00:00
2026-11-10 13:34:40 +00:00
2026-10-07 15:35:34 +00:00
2026-10-06 08:13:27 +00:00
2026-11-16 13:07:38 +00:00
2026-10-05 12:44:26 +00:00
2026-10-23 21:59:20 +00:00
2026-11-02 17:27:20 +00:00
2026-11-02 12:45:55 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-11-13 11:45:35 +00:00
2026-10-29 09:12:10 +00:00
2026-10-23 10:32:56 +00:00
2026-11-18 09:39:00 +00:00
2026-11-13 11:45:35 +00:00
2026-11-13 11:45:35 +00:00
2026-11-03 09:14:29 +00:00
2026-11-18 11:42:50 +00:00
2026-10-29 09:12:10 +00:00
2026-11-13 11:45:35 +00:00
2026-11-02 15:26:50 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-11-06 08:04:15 +00:00
2026-10-20 13:45:52 +00:00
2026-11-13 11:45:35 +00:00
2026-11-14 19:33:53 +00:00
2026-11-09 12:08:31 +00:00
2026-10-05 12:44:26 +00:00
2026-11-10 09:43:33 +00:00
2026-11-12 00:08:05 +00:00
2026-10-19 14:22:10 +00:00
2026-11-16 16:42:28 +00:00
2026-10-29 09:12:10 +00:00
2026-11-15 09:13:12 +00:00
2026-11-15 09:13:12 +00:00
2026-11-18 00:29:57 +00:00
2026-10-30 09:59:44 +00:00
2026-11-18 13:23:57 +00:00
2026-11-13 11:45:35 +00:00
2026-10-28 21:52:54 +00:00
2026-10-12 13:47:49 +00:00
2026-11-17 13:00:41 +00:00
2026-11-18 07:38:13 +00:00
2026-11-15 05:20:14 +00:00
2026-11-13 11:45:35 +00:00
2026-11-13 19:46:43 +00:00
2026-11-13 19:46:43 +00:00
2026-10-19 14:16:08 +00:00
2026-11-13 16:33:49 +00:00
2026-11-10 23:00:03 +00:00
2026-10-05 12:44:26 +00:00
2026-10-05 12:44:26 +00:00
2026-11-16 17:34:29 +00:00
2026-11-15 05:20:14 +00:00
2026-11-15 05:20:14 +00:00
2026-11-12 22:39:26 +00:00
2026-10-09 05:44:50 +00:00
2026-10-05 12:44:26 +00:00
2026-11-02 15:51:56 +00:00
2026-10-05 12:44:26 +00:00
2026-11-17 12:43:21 +00:00
2026-10-26 13:46:57 +00:00
2026-11-09 11:01:36 +00:00
2026-10-09 05:44:50 +00:00
2026-10-05 12:44:26 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-11-18 09:34:07 +00:00
2026-11-13 11:45:35 +00:00
2026-10-21 16:49:51 +00:00
2026-11-18 12:22:00 +00:00
2026-11-18 12:22:00 +00:00
2026-11-18 13:23:57 +00:00
2026-11-18 12:22:00 +00:00
2026-11-18 12:22:00 +00:00
2026-11-13 11:45:35 +00:00
2026-11-13 12:27:17 +00:00
2026-11-18 09:49:23 +00:00
2026-11-13 11:45:35 +00:00
2026-10-21 17:41:09 +00:00
2026-10-22 11:49:45 +00:00
2026-11-13 11:45:35 +00:00
2026-11-07 09:46:58 +00:00
2026-11-12 14:52:36 +00:00
2026-11-11 19:08:16 +00:00
2026-10-05 12:44:26 +00:00
2026-11-18 09:34:07 +00:00
2026-10-05 12:44:26 +00:00
2026-10-22 04:43:07 +00:00
2026-10-29 14:33:41 +00:00
2026-10-05 12:44:26 +00:00
2026-10-05 12:44:26 +00:00
2026-11-17 12:52:39 +00:00
2026-11-18 12:22:00 +00:00
2026-11-09 12:08:31 +00:00
2026-11-18 12:22:00 +00:00
2026-10-22 13:57:27 +00:00
2026-10-12 13:47:49 +00:00
2026-11-13 11:45:35 +00:00
2026-11-18 00:35:29 +00:00
2026-11-09 12:26:10 +00:00
2026-11-09 12:26:10 +00:00
2026-11-11 19:41:02 +00:00
2026-11-18 10:07:55 +00:00
2026-10-29 09:12:10 +00:00
2026-11-10 13:34:40 +00:00
2026-11-18 05:53:08 +00:00
2026-10-12 13:47:49 +00:00
2026-11-18 09:49:23 +00:00
2026-11-12 21:00:35 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-11-11 21:17:08 +00:00
2026-11-10 13:38:24 +00:00
2026-10-05 12:44:26 +00:00
2026-10-07 11:03:59 +00:00
2026-11-18 09:49:23 +00:00
2026-11-17 12:43:21 +00:00
2026-11-17 12:43:21 +00:00
2026-10-29 09:12:10 +00:00
2026-10-29 09:12:10 +00:00
2026-10-30 12:27:35 +00:00
2026-11-18 09:50:35 +00:00
2026-11-18 13:23:57 +00:00
2026-10-27 00:53:14 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-11-16 14:20:13 +00:00
2026-11-10 23:30:25 +00:00
2026-10-05 20:30:23 +00:00
2026-10-05 12:44:26 +00:00
2026-10-05 12:44:26 +00:00
2026-10-13 13:15:34 +00:00
2026-11-10 13:34:40 +00:00
2026-11-08 20:08:14 +00:00
2026-11-04 15:54:12 +00:00
2026-11-12 14:53:04 +00:00
2026-11-10 09:43:33 +00:00
2026-11-12 15:11:54 +00:00
2026-11-16 13:48:28 +00:00
2026-11-13 11:45:35 +00:00
2026-10-08 15:37:40 +00:00
2026-10-07 14:58:00 +00:00
2026-10-29 09:12:10 +00:00
2026-11-02 22:26:26 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00
2026-10-22 11:49:45 +00:00
2026-11-13 16:33:49 +00:00
2026-10-05 12:44:26 +00:00
2026-11-16 00:05:19 +00:00
2026-10-05 12:44:26 +00:00
2026-11-17 16:48:24 +00:00
2026-11-13 11:45:35 +00:00
2026-11-13 05:28:29 +00:00
2026-11-16 10:57:46 +00:00
2026-11-17 19:53:23 +00:00
2026-10-29 09:12:10 +00:00
2026-10-05 12:44:26 +00:00
2026-10-23 13:16:35 +00:00
2026-11-17 12:43:21 +00:00
2026-11-18 13:23:57 +00:00
2026-10-23 21:59:20 +00:00
2026-11-13 11:45:35 +00:00
2026-11-16 13:58:55 +00:00
2026-10-05 12:44:26 +00:00
2026-11-13 11:45:35 +00:00