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 URL Parse #352

Merged
merged 6 commits into from
Jan 11, 2024
Merged

Fix URL Parse #352

merged 6 commits into from
Jan 11, 2024

Conversation

hinthornw
Copy link
Collaborator

No description provided.

snlamm and others added 6 commits January 11, 2024 14:28
The current logic to fetch the langsmith host url unintentionally turns
the default langsmith url of `https://api.smith.langchain.com` into an
invalid url of `https:/.smith.langchain.com` because it matches on the
/api portion.

This PR changes the logic to exempt those cases where the subdomain
begins with `api` so that the correct host url is returned.

Co-authored-by: Shmuel Lamm <shmuellamm@gmail.com>
@hinthornw hinthornw enabled auto-merge (squash) January 11, 2024 23:27
@hinthornw hinthornw disabled auto-merge January 11, 2024 23:32
@hinthornw hinthornw merged commit f0fbd3e into main Jan 11, 2024
12 checks passed
@hinthornw hinthornw deleted the wfh/fix_url_parse branch January 11, 2024 23:32
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.

2 participants