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

Expose request body for all steps in generateText #3157

Open
williamlmao opened this issue Sep 28, 2024 · 0 comments
Open

Expose request body for all steps in generateText #3157

williamlmao opened this issue Sep 28, 2024 · 0 comments
Labels
ai/core enhancement New feature or request

Comments

@williamlmao
Copy link

Feature Description

Expose request body for all steps in generateText

Currently you can access the request body per request by intercepting the fetch or using middleware, but neither of these methods give you access to variables in the calling function scope.

It would be useful to access the request bodies of every step called.

Use Case

Logging / saving request body data along with additional data from the calling function scope.

Additional context

No response

@jeremyphilemon jeremyphilemon added ai/core enhancement New feature or request labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@jeremyphilemon @williamlmao and others