Skip to content

400 Bad Request from /api/v0/chat_session/create on latest main #7

Description

@MarekFX554

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions