Skip to content

Add and document api_key and base_url to Guard.fetch_guard() #1245

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

Merged
merged 2 commits into from
Mar 28, 2025

Conversation

AlexBlumer
Copy link
Contributor

  • Adds api_key and base_url parameters to Guard() and Guard.fetch_guard(), allowing the server to be defined per-Guard.

Fixes #1235

@CalebCourier
Copy link
Collaborator

tests passed; codecov always fails on forks because of auth.

@CalebCourier CalebCourier merged commit 4b4b878 into guardrails-ai:main Mar 28, 2025
8 of 12 checks passed
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.

[feat] Accept URL and API key as arguments to Guard()/fetch_guard()
2 participants