Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Refact selfhost BYOK #585

@ukrolelo

Description

@ukrolelo

Tryed this:

chat_endpoint: "http://localhost:8008/v1/chat/completions"
chat_model: "qwen2.5/coder/1.5b/instruct"

with this error:

Error: 422 Unprocessable Entity: [{"type":"missing","loc":["body","messages"],"msg":"Field required","input":{"model":"qwen2.5/coder/1.5b/instruct","stream":true,"temperature":0.0,"max_completion_tokens":4096,"stream_options":{"include_usage":true},"prompt":"<|im_start|>user\nhello\n\n<|im_start|>assistant\n"},"url":"https://errors.pydantic.dev/2.10/v/missing"}]
Click to retry```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions