-
Notifications
You must be signed in to change notification settings - Fork 354
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: GCS Bucket subdirectory not being creating while using ReasoningEngine create method #3651
Conversation
Earlier blobs subfolder were created using blob = gcs_bucket.blob(os.path.join(gcs_dir_name, _EXTRA_PACKAGES_FILE)) which resulted in files with name like gcs_dir_name\_EXTRA_PACKAGES_FILE instead of creating folder. now fixed it with blob = gcs_bucket.blob(f"{gcs_dir_name}/{_EXTRA_PACKAGES_FILE}") this creates a sub folder
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
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.
Thank you!
Fixes #3650 🦕
Earlier blobs subfolder were created using
blob = gcs_bucket.blob(os.path.join(gcs_dir_name, _EXTRA_PACKAGES_FILE))
which resulted in files with name like gcs_dir_name_EXTRA_PACKAGES_FILE instead of creating folder.
now fixed it with blob = gcs_bucket.blob(f"{gcs_dir_name}/{_EXTRA_PACKAGES_FILE}")
this creates a sub folder
This fixes the issue
404 Can not copy from "gs://aretec-vertex-lc-stagging/reasoning_engine/reasoning_engine.pkl" to "gs://1006586376595-996210311323189248-1713810220200/code.pkl", check if the source object and target bucket exist.