Skip to content

regex support for openai models? #151

Closed as not planned
Closed as not planned

Description

@nivibilla

Hi I was trying to use the regex constrained output with an OpenAI backend but it threw a warning saying regex is not supported for openai backend.

Activity

  1. comaniac commented on Feb 6, 2024

    @comaniac
    Contributor

    Since SGLang cannot control the decoding process of official OpenAI endpoints, there's no way to support regex for OpenAI models.

  2. nivibilla commented on Feb 6, 2024

    @nivibilla
    ContributorAuthor

    I see. Thanks for replying so quickly!

  3. added a commit that references this issue on Jun 2, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions