Skip to content

Commit 23a8824

Browse files
google-genai-botcopybara-github
authored andcommitted
chore: Update Gemini Data Analytics API endpoint to v1beta
PiperOrigin-RevId: 880986378
1 parent 372c76b commit 23a8824

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/tools/bigquery/data_insights_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def ask_data_insights(
133133
"Content-Type": "application/json",
134134
"X-Goog-API-Client": _GDA_CLIENT_ID,
135135
}
136-
ca_url = f"https://geminidataanalytics.googleapis.com/v1alpha/projects/{project_id}/locations/{location}:chat"
136+
ca_url = f"https://geminidataanalytics.googleapis.com/v1beta/projects/{project_id}/locations/{location}:chat"
137137

138138
instructions = """**INSTRUCTIONS - FOLLOW THESE RULES:**
139139
1. **CONTENT:** Your answer should present the supporting data and then provide a conclusion based on that data, including relevant details and observations where possible.

0 commit comments

Comments
 (0)