Version: v0.8.2
Debian and Flathub
Describe the Bug
After activating the API server, only the Anthropic endpoint POST /v1/messages is working, the OpenAI style one POST /v1/chat/completions runs in a timeout
Steps to Reproduce
- Download v0.8.2
- Download a model
- start API server
- make the same request both the the anthropic and openai endpoint
- openai endpoint will time out
Anthropic (works fine)
curl http://127.0.0.1:1337/v1/messages \
-H "Content-Type: application/json" \
-H "x-api-key: XXX" \
-d '{
"model": "Jan-v3.5-4B-Q4_K_XL",
"max_tokens": 1024,
"stream": true,
"messages": [{"role": "user", "content": "Hello!"}]
}'
OpenAI (will fail)
curl http://127.0.0.1:1337/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer XXX" \
-d '{
"model": "Jan-v3.5-4B-Q4_K_XL",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'
Screenshots / Logs
app.log
Operating System
Version: v0.8.2
Debian and Flathub
Describe the Bug
After activating the API server, only the Anthropic endpoint
POST /v1/messagesis working, the OpenAI style onePOST /v1/chat/completionsruns in a timeoutSteps to Reproduce
Anthropic (works fine)
OpenAI (will fail)
Screenshots / Logs
app.log
Operating System