Skip to content

Commit a27e8f2

Browse files
conradleeclaude
andcommitted
Update Vertex AI recursive schema test cassette
Successfully recorded new cassette for gemini-2.5-flash on Vertex AI with recursive schemas. The test passes, confirming that recursive schemas with $refs and $defs work properly on both GLA and Vertex AI. Changes: - Updated cassette with successful test run - Scrubbed sensitive ID token that contained email address - Test confirms recursive TreeNode schemas work on Vertex AI This validates that Google's enhanced JSON Schema support works across both their API endpoints. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8611b4f commit a27e8f2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/models/cassettes/test_google/test_google_recursive_schema_native_output_gemini_2_5.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interactions:
99
connection:
1010
- keep-alive
1111
content-length:
12-
- '137'
12+
- '234'
1313
content-type:
1414
- application/x-www-form-urlencoded
1515
method: POST
@@ -21,7 +21,7 @@ interactions:
2121
cache-control:
2222
- no-cache, no-store, max-age=0, must-revalidate
2323
content-length:
24-
- '1520'
24+
- '1518'
2525
content-type:
2626
- application/json; charset=utf-8
2727
expires:
@@ -37,9 +37,9 @@ interactions:
3737
parsed_body:
3838
access_token: scrubbed
3939
expires_in: 3599
40-
id_token: eyJhbGciOiJSUzI1NiIsImtpZCI6IjRmZWI0NGYwZjdhN2UyN2M3YzQwMzM3OWFmZjIwYWY1YzhjZjUyZGMiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiIzMjU1NTk0MDU1OS5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImF1ZCI6IjMyNTU1OTQwNTU5LmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTA0MDMyODc1Njg3NDUwNzA3NzUwIiwiaGQiOiJjYXB0dXJlZGtub3dsZWRnZS5haSIsImVtYWlsIjoiY29ucmFkQGNhcHR1cmVka25vd2xlZGdlLmFpIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJ2emc3MEN0a1FhcnBJNVMzYWJZY1ZnIiwiaWF0IjoxNzYyOTU2NjUxLCJleHAiOjE3NjI5NjAyNTF9.P0kjqqgbGDIEfRkaCL76T1rRV1CC6ypQjWLlq8IWDgFhA6xMLOgcoN3eCU0yFg8lgoY_SI2C2oaQWMep9dNZbF4yil376ohzyuxkzyjjjfWmf-IuxDS9_s4IbIOut90XLM_R1SxWA-nc_nrki3OeYbvss0BWh28_BAvYLuMI4EVqW5QnlW1VmYj46kgn80YW9PEwSwei1h99ew9KLg7e9Fhb1LIXdU7zu1NkGjbvygirN3NKEZkry55w2U_h8ItPRes0MqJUFqpJzto92-GtpKhPjbIvmPJfmepxec9Tq-VU5IK24RqmYtNmzT5ZgyOXQtUni-9zhKjWsP8kIbGTEg
41-
scope: openid https://www.googleapis.com/auth/accounts.reauth https://www.googleapis.com/auth/appengine.admin https://www.googleapis.com/auth/cloud-platform
42-
https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/sqlservice.login
40+
id_token: scrubbed
41+
scope: https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/sqlservice.login openid https://www.googleapis.com/auth/compute
42+
https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/accounts.reauth https://www.googleapis.com/auth/appengine.admin
4343
token_type: Bearer
4444
status:
4545
code: 200
@@ -57,7 +57,7 @@ interactions:
5757
content-type:
5858
- application/json
5959
host:
60-
- aiplatform.googleapis.com
60+
- us-central1-aiplatform.googleapis.com
6161
method: POST
6262
parsed_body:
6363
contents:
@@ -86,7 +86,7 @@ interactions:
8686
responseMimeType: application/json
8787
responseModalities:
8888
- TEXT
89-
uri: https://aiplatform.googleapis.com/v1beta1/projects/pydantic-ai/locations/global/publishers/google/models/gemini-2.5-flash:generateContent
89+
uri: https://us-central1-aiplatform.googleapis.com/v1beta1/projects/ck-nest-dev/locations/us-central1/publishers/google/models/gemini-2.5-flash:generateContent
9090
response:
9191
headers:
9292
alt-svc:
@@ -103,7 +103,7 @@ interactions:
103103
- Referer
104104
parsed_body:
105105
candidates:
106-
- avgLogprobs: -1.1582396030426025
106+
- avgLogprobs: -0.5180281400680542
107107
content:
108108
parts:
109109
- text: |-
@@ -120,9 +120,9 @@ interactions:
120120
}
121121
role: model
122122
finishReason: STOP
123-
createTime: '2025-11-12T14:10:52.206764Z'
123+
createTime: '2025-11-15T10:04:52.070545Z'
124124
modelVersion: gemini-2.5-flash
125-
responseId: bJUUaazPDI-Kn9kPwNOc-AQ
125+
responseId: RFAYaZGnBIaBm9IPkPrjkA8
126126
usageMetadata:
127127
candidatesTokenCount: 48
128128
candidatesTokensDetails:
@@ -132,8 +132,8 @@ interactions:
132132
promptTokensDetails:
133133
- modality: TEXT
134134
tokenCount: 19
135-
thoughtsTokenCount: 153
136-
totalTokenCount: 220
135+
thoughtsTokenCount: 100
136+
totalTokenCount: 167
137137
trafficType: ON_DEMAND
138138
status:
139139
code: 200

0 commit comments

Comments
 (0)