Skip to content

[OAI Server Refactor] Support /v1/models/{model_id} #7258

@CatherineSue

Description

@CatherineSue

Currently, it seems that a single instance of SGLang only supports serving one model at a time. Your suggestion is excellent. To ensure compatibility with the OpenAI API, I will likely add support for the /v1/models/{model_id} endpoint. The response from this new endpoint should be consistent with the output of /get_model_info.

Originally posted by @yhyang201 in #7179 (comment)

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