-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
Use env for revision id if not passed in as param; use git describe
as backup
#16227
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
git describe
as backupgit describe
as backup
@@ -1330,6 +1335,24 @@ def run_on_dataset( | |||
return container.finish(batch_results, verbose=verbose) | |||
|
|||
|
|||
def _get_default_revision_id() -> Optional[str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a description of what LANGCHAIN_REVISION_ID
is? And which git
repo is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to memoize the result if git describe --tags --dirty
fails? e.g., no git installed or no .git found?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya - he's implementing in the SDK also! we memoize there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works
No description provided.