Skip to content

Add onRequest to steaming requests #306

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ShuffleReady
Copy link

I was able to modify headers in all but the streaming case. This modifies the onRequest hook to be called before fetchEventSource as well.

Requested here as well: #302 (comment)

ShuffleReady and others added 2 commits July 7, 2025 13:59
Missing comma in config example
…omponents that send requests.

- Update components that now have good type safety to include onRequest in calls to server / prop passing. (BotBubble & LeadCapture for example)
@phasmax
Copy link

phasmax commented Jul 29, 2025

Any ETA on this being merged?

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 this pull request may close these issues.

3 participants