ZIm/crates/language_models/src
little-dude c0397727e0
language_models: Sort Ollama models by name (#31620)
Hello,

This is my first contribution so apologies if I'm not following the
proper process (I haven't seen anything special in
https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md). Also,
I have tested my changes manually, but I could not figure out an easy we
to instantiate a `LanguageModelSelector` in the unit tests, so I didn't
write a test. If you can provide some guidance I'd be happy to write a
test.

---

If the user configured the models with custom names via `display_name`,
we want the ollama models to be sorted based on the name that is
actually displayed.

~~The original issue is only about ollama but this change will also
affect the other providers.~~

Closes #30854

Release Notes:

- Ollama: Changed models to be sorted by name.
2025-06-03 15:37:08 +00:00
..
provider language_models: Sort Ollama models by name (#31620) 2025-06-03 15:37:08 +00:00
ui agent: Fix instruction list item with multiple buttons not working (#30541) 2025-05-12 06:19:20 -03:00
language_models.rs language_models: Remove language-models feature flag (#29416) 2025-04-25 14:18:48 +00:00
provider.rs assistant: Add Bedrock support (#21092) 2025-02-24 18:10:12 -05:00
settings.rs agent: Allow customizing temperature by provider/model (#30033) 2025-05-06 20:36:25 +00:00
ui.rs assistant: Refine settings view's instruction visuals (#25812) 2025-02-28 12:06:47 -03:00