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

fix: make anthropic work in fiddle/vscode #970

Merged
merged 4 commits into from
Sep 20, 2024
Merged

Conversation

sxlijin
Copy link
Collaborator

@sxlijin sxlijin commented Sep 20, 2024

Anthropic now reacts to the Origin header being set, and reacts to such requests complaining about CORS issues.

To get around this without magically injecting the Anthropic headers, just delete the origin header.

Copy link

vercel bot commented Sep 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baml ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 2:58am

@sxlijin sxlijin added this pull request to the merge queue Sep 20, 2024
Merged via the queue into canary with commit 32eccae Sep 20, 2024
10 checks passed
@sxlijin sxlijin deleted the sam/anthropic-broken branch September 20, 2024 02:59
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.

1 participant