-
Notifications
You must be signed in to change notification settings - Fork 124
fix: remove frn #3106
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
fix: remove frn #3106
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
commit: |
Graphite Automations"Test" took an action on this PR • (10/07/25)1 assignee was added to this PR based on Kacper Wojciechowski's automation. |
140e5fe
to
dc1bc10
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
dc1bc10
to
bd2c76a
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
bd2c76a
to
e9830a4
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
e9830a4
to
ed7cca1
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
ed7cca1
to
58093a8
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
fa2b93b
to
a3e4d24
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
c507238
to
cf6d4d7
Compare
a3e4d24
to
6ff51f5
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Merge activity
|
### TL;DR Improved header handling in API clients by removing all Fern-related headers. ### What changed? - Modified the `cloud-data-provider.tsx` to use a more robust approach for removing Fern-related headers by iterating through all headers and removing any that start with "x-fern-" (case-insensitive) - Fixed a typo in the cloud provider where `fetcher` was called instead of `fetch` - Added the same header cleaning logic to the `engine-data-provider.tsx` to ensure consistent behavior across both data providers ### How to test? 1. Make API calls using both cloud and engine data providers 2. Verify that no "x-fern-" headers are being sent in the requests 3. Confirm that API calls complete successfully with the updated header handling ### Why make this change? The previous implementation in the cloud provider only removed specific Fern headers by name, which could miss other Fern headers. The new implementation ensures all Fern-related headers are removed systematically. Adding this same functionality to the engine provider ensures consistent behavior across both providers and prevents potential issues with unwanted headers being sent to the API.
TL;DR
Improved header handling in API clients by removing all Fern-related headers.
What changed?
cloud-data-provider.tsx
to use a more robust approach for removing Fern-related headers by iterating through all headers and removing any that start with "x-fern-" (case-insensitive)fetcher
was called instead offetch
engine-data-provider.tsx
to ensure consistent behavior across both data providersHow to test?
Why make this change?
The previous implementation in the cloud provider only removed specific Fern headers by name, which could miss other Fern headers. The new implementation ensures all Fern-related headers are removed systematically. Adding this same functionality to the engine provider ensures consistent behavior across both providers and prevents potential issues with unwanted headers being sent to the API.