8000 AgentEngines update() fails with mandatory pickled_object_gcs_uri which does not seem to be required in ADK AgenEngines update() · Issue #1559 · google/adk-python · GitHub
[go: up one dir, main page]

Skip to content
AgentEngines update() fails with mandatory pickled_object_gcs_uri which does not seem to be required in ADK AgenEngines update() #1559
Open
@atiur

Description

@atiur

Describe the bug
AgentEngines update() fails with mandatory pickled_object_gcs_uri which does not seem to be required in ADK AgenEngines update().

  File "/Users/atiur/Projects/nebula-prime-adk/deployment/deploy.py", line 167, in main
    update(FLAGS.resource_id)
  File "/Users/atiur/Projects/nebula-prime-adk/deployment/deploy.py", line 93, in update
    remote_agent.update(
  File "/Users/atiur/Library/Caches/pypoetry/virtualenvs/nebula-prime-adk-Sp1ZWfrO-py3.12/lib/python3.12/site-packages/vertexai/agent_engines/_agent_engines.py", line 648, in update
    operation_future = self.api_client.update_reasoning_engine(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/atiur/Library/Caches/pypoetry/virtualenvs/nebula-prime-adk-Sp1ZWfrO-py3.12/lib/python3.12/site-packages/google/cloud/aiplatform_v1/services/reasoning_engine_service/client.py", line 1275, in update_reasoning_engine
    response = rpc(
               ^^^^
  File "/Users/atiur/Library/Caches/pypoetry/virtualenvs/nebula-prime-adk-Sp1ZWfrO-py3.12/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py", line 131, in __call__
    return wrapped_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/atiur/Library/Caches/pypoetry/virtualenvs/nebula-prime-adk-Sp1ZWfrO-py3.12/lib/python3.12/site-packages/google/api_core/grpc_helpers.py", line 78, in error_remapped_callable
    raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.FailedPrecondition: 400 `spec.package_spec.pickled_object_gcs_uri` field must be set.

To Reproduce
Steps to reproduce the behavior:
Update an AgentEngine ADK instance with AgentEngines::update()

Expected behavior
Deployment should pass as mandatory params are passed.

Desktop (please complete the following information):
OSX

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot_triagedcoreIssues related to the core interface and implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0