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

update env vars for hosted langserve #347

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Conversation

jakerachleff
Copy link
Contributor

@jakerachleff jakerachleff commented Dec 23, 2023

Modifies the env vars we send to hosted langserve to uniquely identify the piece of code that created the env var

@cla-bot cla-bot bot added the cla-signed label Dec 23, 2023
@@ -173,15 +173,18 @@ def _update_config_with_defaults(

if _is_hosted():
hosted_metadata = {
"__langserve_hosted_git_commit_sha": os.environ.get(
"HOSTED_LANGSERVE_GIT_COMMIT", ""
"__langserve_hosted_git_ref": os.environ.get(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't add unit tests given my last unit tests here caused concurrency issues

@jakerachleff jakerachleff merged commit 76669c2 into main Dec 24, 2023
11 checks passed
@jakerachleff jakerachleff deleted the 2023-12-22-fix-env-vars branch December 24, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants