fix: Set explicit project in the BigQuery client

This change sets an explicit project id in the BigQuery client from the conversation context. Without this the client was trying to set a project from the environment's application default credentials and running into issues where application default credentials is not available.

PiperOrigin-RevId: 772695883
This commit is contained in:
Google Team Member
2025-06-17 18:04:41 -07:00
committed by Copybara-Service
parent c04adaade1
commit 6d174eba30
7 changed files with 315 additions and 20 deletions
@@ -96,9 +96,7 @@ async def test_bigquery_toolset_tools_selective(selected_tools):
],
)
@pytest.mark.asyncio
async def test_bigquery_toolset_unknown_tool_raises(
selected_tools, returned_tools
):
async def test_bigquery_toolset_unknown_tool(selected_tools, returned_tools):
"""Test BigQuery toolset with filter.
This test verifies the behavior of the BigQuery toolset when filter is