summaryrefslogtreecommitdiffstats
path: root/Argcfile.sh
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-01-19 11:38:28 +0800
committerGitHub <noreply@github.com>2025-01-19 11:38:28 +0800
commitef5febaa0ea5779d11bba062a2f623262931147e (patch)
treeacd380e133932856624d45ee3ef7ea60176309da /Argcfile.sh
parente61aaae0e24eb0dbe25384f310d599f624a08126 (diff)
downloadaichat-ef5febaa0ea5779d11bba062a2f623262931147e.tar.gz
feat: add a default base_url to ollama (#1102)
Diffstat (limited to 'Argcfile.sh')
-rwxr-xr-xArgcfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Argcfile.sh b/Argcfile.sh
index 50d025e..43ebb59 100755
--- a/Argcfile.sh
+++ b/Argcfile.sh
@@ -322,7 +322,7 @@ _argc_before() {
mistral,mistral-small-latest,https://api.mistral.ai/v1 \
moonshot,moonshot-v1-8k,https://api.moonshot.cn/v1 \
openrouter,openai/gpt-4o-mini,https://openrouter.ai/api/v1 \
- ollama,llama3.1:latest,${OLLAMA_HOST:-"http://127.0.0.1:11434"}/v1 \
+ ollama,llama3.1:latest,http://${OLLAMA_HOST:-"127.0.0.1:11434"}/v1 \
perplexity,llama-3.1-8b-instruct,https://api.perplexity.ai \
qianwen,qwen-turbo-latest,https://dashscope.aliyuncs.com/compatible-mode/v1 \
siliconflow,meta-llama/Meta-Llama-3.1-8B-Instruct,https://api.siliconflow.cn/v1 \