浏览代码

Use llama3.1 in tools example (#5985)

* Use llama3.1 in tools example

* Update api.md
Kyle Kelley 8 月之前
父节点
当前提交
ad0c19dde4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/api.md

+ 2 - 2
docs/api.md

@@ -669,7 +669,7 @@ curl http://localhost:11434/api/chat -d '{
 
 ```
 curl http://localhost:11434/api/chat -d '{
-  "model": "mistral",
+  "model": "llama3.1",
   "messages": [
     {
       "role": "user",
@@ -708,7 +708,7 @@ curl http://localhost:11434/api/chat -d '{
 
 ```json
 {
-  "model": "mistral:7b-instruct-v0.3-q4_K_M",
+  "model": "llama3.1",
   "created_at": "2024-07-22T20:33:28.123648Z",
   "message": {
     "role": "assistant",