Skip to content

Docs: quick tip about testing the OpenAI-compatible endpoint with curl #53

Description

@awhite0030

Small docs idea while testing the router today ✨

It might help new users if the README (or quick-start) had a one-liner curl example showing how to hit the /v1/chat/completions endpoint after starting the server.

Something minimal like:

curl http://localhost:3000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"hi"}]}'

Just enough so people can quickly verify the OpenAI-compatible layer is working.

Very low priority — capturing it while it’s fresh 😊

No rush.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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