Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could more context be passed to stream callbacks? #141

Closed
wadefletch opened this issue Jun 17, 2023 · 2 comments · Fixed by #193
Closed

Could more context be passed to stream callbacks? #141

wadefletch opened this issue Jun 17, 2023 · 2 comments · Fixed by #193

Comments

@wadefletch
Copy link

In creating useful stream callbacks, it would be helpful to carry some additional context about the initial request (model, hyperparameters, prompt) to be used in logging (etc) in the callback.

I'd be open to creating a PR here if y'all at Vercel are interested.

@shuding
Copy link
Member

shuding commented Jun 19, 2023

Yep this makes sense, feel free to open a PR for it!

@shuding
Copy link
Member

shuding commented Jun 22, 2023

#193 should address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants