Skip to content

Interrupt streaming for chat completions using the API like ChatGPT #969

@JohnnyRacer

Description

@JohnnyRacer

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

Hello, I saw this thread on the forums here to allow for the ability to stop or interrupt the generation using the chat assistants API. There does not seem like there is anything in the docs to allow to work. Is it possible this can be implemented in the future to save tokens and generations on streaming responses?

Additional context

No response

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