Skip to content

[Feature Request] - streaming support for API calls #19

Open
@Sebusml

Description

@Sebusml

WHAT?
Add streaming support for API responses.

WHY?
Improves user experience for long or slow completions.

Additional requirements

  • Support TS.
  • Support serverless JS runtimes such as Cloudflare pages and Vercel.
  • If this feature requires creating a TS client, consider returning a ReadableStream

REFERENCE
OpenAI supports this with Chat Completions and the Assistants API.
Reference: https://platform.openai.com/docs/api-reference/streaming

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions