Skip to content

stream.Err always nil #112

@wcu1117

Description

@wcu1117

stream := c.client.Chat.Completions.NewStreaming(ctx, params) if err := stream.Err(); err != nil { panic(err) }

When I debug the code in the packages/ssestream/streaming.go func (s *eventStreamDecoder) Next() bool,
I get the error message.it just don't return.

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