Skip to content

[Doc]: Update the reasoning output streaming example with OpenAI client #14070

@gaocegege

Description

@gaocegege

📚 The doc issue

We are using requests in the reasoning output streaming example because at that time DeltaMessage does not support custom fields. https://github.com/vllm-project/vllm/blob/main/examples/online_serving/openai_chat_completion_with_reasoning_streaming.py

Here is a contributor in SGLang community verified that OpenAI python client should work now. sgl-project/sglang#3859 (comment)

Suggest a potential alternative/fix

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions