fix image api prompt encoding

This commit is contained in:
Alex Cheema
2024-07-30 23:56:30 +01:00
parent 2d20000964
commit 178fb75c84
3 changed files with 85 additions and 41 deletions

View File

@@ -117,7 +117,7 @@ For developers, exo also starts a ChatGPT-compatible API endpoint on http://loca
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3-8b",
"model": "llama-3.1-8b",
"messages": [{"role": "user", "content": "What is the meaning of exo?"}],
"temperature": 0.7
}'