summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-01-22 22:01:00 +0800
committerGitHub <noreply@github.com>2025-01-22 22:01:00 +0800
commit5defd0bdb0e68ca26da575c88116313cd48e290d (patch)
tree391229f8919fe7ae4bf8aa126bb2b46bd14ec1d8 /config.example.yaml
parent9ff8ef06f4099bb6e222b98ad7b32fe159d86429 (diff)
downloadaichat-5defd0bdb0e68ca26da575c88116313cd48e290d.tar.gz
refactor: change default sync_models_url (#1116)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 2b3c0f2..fe41a61 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -79,11 +79,11 @@ right_prompt:
'{color.purple}{?session {?consume_tokens {consume_tokens}({consume_percent}%)}{!consume_tokens {consume_tokens}}}{color.reset}'
# ---- misc ----
-serve_addr: 127.0.0.1:8000 # Default serve listening address
+serve_addr: 127.0.0.1:8000 # Server listening address
user_agent: null # Set User-Agent HTTP header, use `auto` for aichat/<current-version>
save_shell_history: true # Whether to save shell execution command to the history file
-# Sync models changes from the specified URL, using a CDN link rather than a direct GitHub raw link due to the higher availability and reliability of the CDN.
-sync_models_url: https://cdn.jsdelivr.net/gh/sigoden/aichat/models.yaml # Or https://raw.githubusercontent.com/sigoden/aichat/refs/heads/main/models.yaml
+# URL to sync model changes from, e.g., https://cdn.jsdelivr.net/gh/sigoden/aichat@main/models.yaml
+sync_models_url: https://raw.githubusercontent.com/sigoden/aichat/refs/heads/main/models.yaml
# ---- clients ----
clients: