Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add x-speakeasy-sse-sentinel to OpenAPI documentation for chat … #146

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

francis2tm
Copy link
Collaborator

…completions stream

  • Enhanced the OpenAPI specification by adding the x-speakeasy-sse-sentinel property with a value of '[DONE]' to the text/event-stream response of the /v1/chat/completions#stream endpoint.
  • Updated the server component to modify the OpenAPI spec dynamically, ensuring the new property is included in the generated documentation.

…completions stream

- Enhanced the OpenAPI specification by adding the x-speakeasy-sse-sentinel property with a value of '[DONE]' to the text/event-stream response of the /v1/chat/completions#stream endpoint.
- Updated the server component to modify the OpenAPI spec dynamically, ensuring the new property is included in the generated documentation.
Copy link
Contributor

@jorgeantonio21 jorgeantonio21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jorgeantonio21 jorgeantonio21 merged commit cbecc5f into main Jan 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants