Skip to content

Issues with OpenAI Streaming code #86

@tyler-suard-parker

Description

@tyler-suard-parker

When I run your async code, I get:
Error: await can't be used outside of a function.
When I enclose the async code within an async function, I get:
 TypeError: object Stream can't be used in 'await' expression

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions