Skip to content

Model list for openai-compatible servers #31

Description

@surak
  • When using a remote server - say, a large-scale vllm deployment like most companies and universities do - one sees itself looking for the model list.

The command

curl --header  "Authorization: Bearer $OPENAI_COMPAT_API_KEY" $OPENAI_COMPAT_BASEURL/v1/models

would easily come out with such a JSON list.

Providers change models all the time - and one should not need to configure this by hand, when a simple model selection tool would suffice.

Check how opencode and hermes do it.

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