286b97c0de
agent: Fix agent panel model selector layout pushing send button off screen ( #32251 )
...
| Before | After |
|--------|-------|
| <video
src="https://github.com/user-attachments/assets/db4dcc91-9a32-4621-be78-87fe9d80b801 "
controls width="400"></video> | <video
src="https://github.com/user-attachments/assets/8ee31d6d-5150-4239-a4af-eeca112d56d5 "
controls width="400"></video> |
While working on something else I found this weird behaviour in message
editor of agent panel. When model names are too long, the model selector
would expand and push the send button outside the visible area. This
change fixes the flex layout to ensure the send button always remains
accessible while properly truncating long model names.
Closes #ISSUE
Release Notes:
- Fix agent panel model selector layout pushing send button off screen
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com >
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com >
2025-06-10 14:59:42 +00:00
Bennet Bo Fenner
beb0d49dc4
agent: Introduce ModelUsageContext ( #32076 )
...
This PR is a refactor of the existing `ModelType` in
`agent_model_selector`.
In #31848 we also need to know which context we are operating in, to
check if the configured model has image support.
In order to deduplicate the logic needed, I introduced a new type called
`ModelUsageContext` which can be used throughout the agent crate
Release Notes:
- N/A
2025-06-04 15:35:50 +00:00
Kirill Bulatov
f792827a01
Allow to reuse PickerPopoverMenu outside of the model selector ( #31684 )
...
LSP button preparation step: move out the component that will be used to
build the button's context menu.
Release Notes:
- N/A
2025-05-29 12:55:47 +00:00
Marshall Bowers
8faeb34367
Rename assistant_settings to agent_settings ( #31513 )
...
This PR renames the `assistant_settings` crate to `agent_settings`, as
well a number of constructs within it.
Release Notes:
- N/A
2025-05-27 15:16:55 +00:00
Piotr Osiewicz
77dadfedfe
chore: Make terminal_view own the TerminalSlashCommand ( #31070 )
...
This reduces 'touch crates/editor/src/editor.rs && cargo +nightly build'
from 8.9s to 8.5s. That same scenario used to take 8s less than a week
ago. :)
I'm measuring with nightly rustc, because it's compile times are better
than those of stable thanks to
https://github.com/rust-lang/rust/pull/138522
main (8.2s total):

[cargo-timing.html.zip](https://github.com/user-attachments/files/20364175/cargo-timing.html.zip )
#22be776 (7.5s total):
[cargo-timing-20250521T085303.892834Z.html.zip](https://github.com/user-attachments/files/20364391/cargo-timing-20250521T085303.892834Z.html.zip )

Release Notes:
- N/A
2025-05-21 09:27:54 +00:00
Marshall Bowers
6cc6e4d4b3
agent: Rename a number of constructs from Assistant to Agent ( #30196 )
...
This PR renames a number of constructs in the `agent` crate from the
"Assistant" terminology to "Agent".
Not comprehensive, but it's a start.
Release Notes:
- N/A
2025-05-08 01:18:51 +00:00