瀏覽代碼

Fix models/{model} URL (#6132)

Kim Hallberg 9 月之前
父節點
當前提交
ce1fb4447e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/openai.md

+ 1 - 1
docs/openai.md

@@ -86,7 +86,7 @@ curl http://localhost:11434/v1/chat/completions \
 
 
 curl http://localhost:11434/v1/models
 curl http://localhost:11434/v1/models
 
 
-curl https://api.openai.com/v1/models/llama3
+curl http://localhost:11434/v1/models/llama3
 
 
 curl http://localhost:11434/v1/embeddings \
 curl http://localhost:11434/v1/embeddings \
     -H "Content-Type: application/json" \
     -H "Content-Type: application/json" \