Skip to content

[OAI Server Refactor] Core Utility Endpoints #7102

@CatherineSue

Description

@CatherineSue

Points: 2-3 days

Description: Implement the core utility endpoints needed by all OpenAI-compatible clients.

Deliverables:

  • Implement /v1/models endpoint to list available models
  • Add engine lifecycle management in the lifespan handler, following http_server.py in python/sglang/srt/http_server.py
  • Add metrics middleware
  • Add all openai endpoints, skip implementation for now

Testing:

  • Verify proper model listing
  • Ensure metrics are correctly exposed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions