Avoid check for x-vercel-ai-data-stream
#6692
Unanswered
tom-bywild
asked this question in
Help
Replies: 1 comment
-
|
+1 Implementing right now at a large client - their infra is blocking us with this and I won't get a change approved until 2026. Would be a life safer to have this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
AI SDK is a great package and offers tremendous value! In a business environment, it might not be possible to use custom response headers even from custom endpoints.
This is an issue in case you create a Data Stream endpoint from scratch, where setting
x-vercel-ai-data-streamas a response-header is filtered out by the infrastructure (e.g. certain proxies). Getting approval to put the header on an allow-list might not be possible in large enterprises due to security/other concerns or requirements.Therefore I wanted to ask if there's a hidden option to not have
x-vercel-ai-data-streambe present in the response, and still letuseChathandle the response accordingly.Beta Was this translation helpful? Give feedback.
All reactions