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

Consider allow to return Promise from experimental_prepareRequestBody #3653

Open
d3lm opened this issue Nov 13, 2024 · 0 comments
Open

Consider allow to return Promise from experimental_prepareRequestBody #3653

d3lm opened this issue Nov 13, 2024 · 0 comments
Labels
ai/ui enhancement New feature or request

Comments

@d3lm
Copy link

d3lm commented Nov 13, 2024

Feature Description

I have ran into a use case where it'd be useful if I could await a promise inside experimental_prepareRequestBody. I looked at callChatApi and it seems that all of that is already inside async functions which would make it somewhat easy to allow to return promises as well.

Use Cases

I would like to be able to await promises inside experimental_prepareRequestBody.

Additional context

No response

@d3lm d3lm added the enhancement New feature or request label Nov 13, 2024
@lgrammel lgrammel added the ai/ui label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/ui enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants