You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When an agent using any tool that requires OAuth 2.0 (e.g., OpenAPIToolset, BigQueryToolset) is deployed to Vertex AI Agent Engine, it crashes during the initial tool call.
To Reproduce
Error Log:
1 TypeError: Object of type AuthConfig is not JSON serializable
Traceback Analysis: The error occurs within the VertexAiSessionService when it attempts to append the OAuth request event to the session history. The service fails because it cannot serialize the AuthConfig object into JSON.
Steps to Reproduce:
Create an agent that uses any tool requiring OAuth 2.0 (e.g., BigQueryToolset with a client_id and client_secret).
Deploy the agent to Vertex AI Agent Engine using vertexai.agent_engines.create().
Query the deployed agent with a prompt that triggers the OAuth-enabled tool.
Observe the FAILED_PRECONDITION error on the client and the TypeError in the server-side Cloud Logs.
fufufukakaka, yumizu-da, suk1yak1, bashimr, individuwill and 1 more