Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
docs: add missing json and shell code blocks in api.md (#8766)
Davide Bertoniad22ace439eb
diff --git a/docs/api.md b/docs/api.mdindex e9719ad4e..5d1b7d648 100644--- a/docs/api.md+++ b/docs/api.md@@ -306,7 +306,7 @@ curl http://localhost:11434/api/generate -d '{#### Response-```+```json{"model": "llava","created_at": "2023-11-03T15:36:02.583064Z",@@ -795,7 +795,7 @@ curl http://localhost:11434/api/chat -d '{##### Request-```+```shellcurl http://localhost:11434/api/chat -d '{"model": "llama3.2","messages": [@@ -870,7 +870,7 @@ If the messages array is empty, the model will be loaded into memory.##### Request-```+```shellcurl http://localhost:11434/api/chat -d '{"model": "llama3.2","messages": []@@ -897,7 +897,7 @@ If the messages array is empty and the `keep_alive` parameter is set to `0`, a m##### Request-```+```shellcurl http://localhost:11434/api/chat -d '{"model": "llama3.2","messages": [],