发布

  • Add `/v1/completions` endpoint with OpenAI compatibility

    frostbyte_neo 发布于 2025-08-27 16:30:46 +00:00

    • Implemented /v1/completions endpoint mirroring OpenAI's completions API specification.
    • Added conversion functions to translate between completions and chat completions formats.
    • Introduced streaming and non-streaming response handling for completions requests.
    • Updated server.go to register the new endpoint and include it in the API's metadata.
    下载附件