Have only the following Methods: - `list_models`: getting current available models - `try_list_models`: sync version no refresh for tui use - `get_default_model`: get the default model (should be tightened to core and received on session configuration) - `get_model_info`: get `ModelInfo` for a specific model (should be tightened to core but used in tests) - `refresh_if_new_etag`: trigger refresh on different etags Also move the cache to its own struct |
||
|---|---|---|
| .. | ||
| prompts/permissions | ||
| account.rs | ||
| approvals.rs | ||
| config_types.rs | ||
| custom_prompts.rs | ||
| items.rs | ||
| lib.rs | ||
| message_history.rs | ||
| models.rs | ||
| num_format.rs | ||
| openai_models.rs | ||
| parse_command.rs | ||
| plan_tool.rs | ||
| protocol.rs | ||
| thread_id.rs | ||
| user_input.rs | ||