Skip to content

Minor errors in spec #474

@jjttjj

Description

@jjttjj

Logging these here in case they are useful.
These apply to the latest https://app.stainless.com/api/spec/documented/openai/openapi.documented.yml

  • The chatCompletetions operation returns CreateChatCompletionResponse. When actually making a streaming request, the last SSE event will have the data "[DONE]". There is a corresponding DoneEvent in the schemas, but this is not indicated in spec as a possible response to chatCompletions.
  • The downloadFile operation only lists a "application/json" response type, but in practice the actual response is always an "application/octet-stream"

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