-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Bug]: google.api_core.exceptions.NotFound: 404 Can not copy from "gs://.../dependencies.tar.gz when deploying a Reasoning Engine agent #958
Comments
Thanks for reporting this issue and providing details! We've seen similar symptoms in the past when the Reasoning Engine service account is not able to read/write from the GCS staging bucket that you specify, so we typically recommend specifying a new GCS bucket and letting the Reasoning Engine / Vertex AI SDK create the bucket with appropriate permissions, as mentioned in https://cloud.google.com/vertex-ai/generative-ai/docs/reasoning-engine/troubleshooting/deploy#storage-bucket-errors. However as you mentioned, in this case, it seems like something else is happening in that
It appears that there is a bug in the Vertex AI / Reasoning Engine SDK, and the engineering team is looking into a fix. |
Thank you Kristopher for looking into this and recognizing it as a bug in the Vertex AI / Reasoning Engine SDK. I love what you are doing with the Reasoning Engine and can't wait to implement it in the production environment. |
Hello again! The engineering team has pushed a fix that will show up in the next release of the Vertex AI Python client library ( In the meantime, you should be able to downgrade and use a previous version of the Python SDK: |
Hi Kristopher, I just tested it and it works with google-cloud-aiplatform==1.60.0 Thank you! |
Great, thanks for confirming! I'll keep this issue open until the new Python SDK is published and I'll post an update then. |
A new version of the Vertex AI Python SDK has been released, which includes the fix mentioned here. So, the sample notebook should be working as expected again as it will install the latest version of |
Hi Kristopher, is it possible right now to build a RAG with both Vertex AI Search and Google Search using Reasoning Engine? |
Good question! 😄 I responded to the comment in this blog post with some tips and links to sample notebooks & code: |
Closing per #958 (comment). Thanks again for reporting! |
File Name
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/reasoning-engine/intro_reasoning_engine.ipynb
What happened?
When deploying a reasoning agent to Vertex AI as a project owner, I get a 404 running the following code block:
remote_agent = reasoning_engines.ReasoningEngine.create(
agent,
requirements=[
"google-cloud-aiplatform==1.62.0",
"cloudpickle==3.0.0",
"pydantic==2.7.4",
"requests",
],
)
My user account is a superadmin and the Reasoning Agent has the proper permissions.
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: