Environment:
- OS: Ubuntu
- Commit: 14d6227
- Branch: main
- Server command: python app.py
The local OpenAI-compatible server starts successfully.
Working:
- GET /healthz returns 200
- GET /v1/models returns deepseek-chat and deepseek-expert
Failing:
POST /v1/chat/completions returns HTTP 500.
Test command:
curl http://127.0.0.1:8000/v1/chat/completions
-H "Content-Type: application/json"
-d '{"model":"deepseek-chat","messages":[{"role":"user","content":"hello"}]}'
Response:
{"error":{"message":"DeepSeek request failed: Client error '400 Bad Request' for url 'https://chat.deepseek.com/api/v0/chat_session/create'","type":"server_error"}}
The repository is current and the working tree is clean.
Environment:
The local OpenAI-compatible server starts successfully.
Working:
Failing:
POST /v1/chat/completions returns HTTP 500.
Test command:
curl http://127.0.0.1:8000/v1/chat/completions
-H "Content-Type: application/json"
-d '{"model":"deepseek-chat","messages":[{"role":"user","content":"hello"}]}'
Response:
{"error":{"message":"DeepSeek request failed: Client error '400 Bad Request' for url 'https://chat.deepseek.com/api/v0/chat_session/create'","type":"server_error"}}
The repository is current and the working tree is clean.