Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Feature/streamable adapter #114

Merged
merged 5 commits into from
May 11, 2024
Merged

Feature/streamable adapter #114

merged 5 commits into from
May 11, 2024

Conversation

multipletwigs
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
akeru-akeru-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 7:40am

@@ -1,7 +1,7 @@
import { AdapterRequest } from "./adapter";

export interface StreamableAdapter {
generateStreamableResponse(args: AdapterRequest): Promise<string>;
generateStreamableResponse(args: AdapterRequest): AsyncGenerator<string>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't seen that in a long time 😂

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahahahahah yeah, i figured that streams should naturally be generators XD

@GuiBibeau GuiBibeau merged commit bc38e24 into AkeruAI:main May 11, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants