ZIm/crates/agent
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
..
src agent: Introduce ModelUsageContext (#32076) 2025-06-04 15:35:50 +00:00
Cargo.toml agent: Migrate thread storage to SQLite with zstd compression (#31741) 2025-06-02 17:01:34 +03:00
LICENSE-GPL Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00