feat: refresh the model catalog from live API data at runtime

This commit is contained in:
Dark-Alex-17 committed 2026-09-02 14:34:05 -06:00
1 parent 46c8561173
commit b19ac80783
7 files changed
+481 -30

No files matched your search

+6 -1
View File
@@ -244,8 +244,13 @@ right_prompt: null # If null, uses the built-in default:
# ---- Miscellaneous ----
user_agent: null # Set User-Agent HTTP header, use `auto` for coyote/<current-version>
save_shell_history: true # Whether to save shell execution command to the history file
sync_models_url: null # URL to sync model changes from. If null, uses the built-in default:
sync_models_url: null # Where `--sync-models` and the automatic refresh get model data from.
# If null, fetches fresh model data from models.dev + OpenRouter.
# Set a URL to mirror a full models.yaml instead, e.g.:
# https://raw.githubusercontent.com/Dark-Alex-17/coyote/refs/heads/main/models.yaml
sync_models_auto: true # Whether to refresh the model catalog in the background on REPL startup
# once it goes stale
sync_models_ttl_hours: 24 # Hours before the synced model catalog is considered stale
# ---- Clients ----
# See the [Clients documentation](https://github.com/Dark-Alex-17/coyote/wiki/Clients) for more details
+1
View File
@@ -67,6 +67,7 @@ permissions:
- 'api.cohere.ai'
- 'api.groq.com'
- 'openrouter.ai'
- 'models.dev'
- 'api.ai21.com'
- 'api.cloudflare.com'
- 'api.deepinfra.com'