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

feat: allow multiple write URLS for runs in SDK (python) #519

Merged
merged 10 commits into from Mar 14, 2024

Conversation

agola11
Copy link
Contributor

@agola11 agola11 commented Mar 13, 2024

  • Allow user to set LANGSMITH_ENDPOINT and LANGSMITH_API_KEY (in addition to LANGCHAIN_ENDPOINT and LANGCHAIN_API_KEY). This priority will be former > latter > passed-in parameter.
  • Allow user to set LANGSMITH_RUNS_ENDPOINTS environment variable or pass in api_urls which are a map of api urls to api keys. The first element will be used for all requests, whereas all elements will be used for writing (Runs only)

@agola11 agola11 changed the title Ankush/allow multiple urls feat: allow multiple write URLS for runs in SDK (python) Mar 13, 2024
Copy link
Collaborator

@hinthornw hinthornw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. I'll have to double check the batch ingestion logic but can land today

@hinthornw hinthornw merged commit d1c95c4 into main Mar 14, 2024
5 of 7 checks passed
@hinthornw hinthornw deleted the ankush/allow-multiple-urls branch March 14, 2024 00:12
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.

None yet

2 participants