ZIm/crates/assistant_context_editor
Ben Brandt 9427833fdf
Distinguish between missing models and registries in error messages (#32678)
Consolidates configuration error handling by moving the error type and
logic from assistant_context_editor to language_model::registry.

The registry now provides a single method to check for configuration
errors, making the error handling more consistent across the agent panel
and context editor.

This also now checks if the issue is that we don't have any providers,
or if we just can't find the model.

Previously, an incorrect model name showed up as having no providers,
which is very confusing.

Release Notes:

- N/A
2025-06-13 10:31:52 +00:00
..
src Distinguish between missing models and registries in error messages (#32678) 2025-06-13 10:31:52 +00:00
Cargo.toml assistant_context_editor: Fix copy paste regression (#31882) 2025-06-02 11:52:47 +02:00
LICENSE-GPL Add assistant_context_editor crate (#23429) 2025-01-21 21:22:59 +00:00