Kian Jones
424a1ada64
fix: google gen ai format error fix ( #9147 )
...
* google gen ai format error fix
* fix(core): add $ref safety net, warning log, and unit tests for Google schema resolution
- Add `$ref` to unsupported_keys in `_clean_google_ai_schema_properties` so unresolvable refs (e.g. `#/properties/...` style) are stripped as a safety net instead of crashing the Google SDK
- Add warning log when `_resolve_json_schema_refs` encounters a ref it cannot resolve
- Deduplicate the `#/$defs/` and `#/definitions/` resolution branches
- Add 11 unit tests covering: single/multiple $defs, nested refs, refs in anyOf/allOf, array items, definitions key, unresolvable refs, and the full resolve+clean pipeline
🤖 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
---------
Co-authored-by: Letta <noreply@letta.com >
2026-02-24 10:52:07 -08:00
..
2026-02-24 10:52:06 -08:00
2026-01-29 12:43:51 -08:00
2026-01-29 12:43:53 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:52:07 -08:00
2025-09-17 15:47:40 -07:00
2026-01-19 15:54:43 -08:00
2026-01-19 15:54:43 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-01-12 10:57:49 -08:00
2025-09-17 15:47:40 -07:00
2025-10-07 17:50:48 -07:00
2026-01-12 10:57:49 -08:00
2026-01-12 10:57:19 -08:00
2025-10-07 17:50:46 -07:00
2026-01-12 10:57:49 -08:00
2026-01-29 12:44:04 -08:00
2025-10-24 15:12:11 -07:00
2026-02-24 10:52:06 -08:00
2026-01-12 10:57:48 -08:00
2025-10-07 17:50:46 -07:00
2026-02-24 10:52:06 -08:00
2026-01-29 12:44:04 -08:00
2026-01-12 10:57:49 -08:00
2025-12-15 12:02:18 -08:00
2026-01-12 10:57:19 -08:00
2026-02-24 10:52:06 -08:00
2026-01-29 12:43:53 -08:00
2026-01-19 15:54:42 -08:00
2026-02-24 10:52:07 -08:00
2026-01-29 12:44:04 -08:00
2026-01-12 10:57:49 -08:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:52:07 -08:00
2026-01-12 10:57:19 -08:00
2026-01-12 10:57:19 -08:00
2026-01-12 10:57:49 -08:00
2026-01-19 15:54:43 -08:00
2025-12-15 12:02:19 -08:00
2025-11-13 15:35:34 -08:00
2025-09-17 15:47:40 -07:00
2025-12-15 12:03:09 -08:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2025-10-07 17:50:48 -07:00
2025-11-13 15:36:56 -08:00
2026-01-29 12:44:04 -08:00
2026-01-12 10:57:49 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:52:07 -08:00
2026-01-12 10:57:48 -08:00
2026-01-29 12:44:04 -08:00
2026-02-24 10:52:06 -08:00
2025-11-13 15:36:55 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:07 -08:00
2025-11-26 14:39:40 -08:00
2025-12-15 12:03:09 -08:00
2025-09-17 15:47:40 -07:00
2026-01-29 12:44:04 -08:00
2025-11-13 15:36:55 -08:00
2025-11-13 15:36:55 -08:00
2026-01-12 10:57:49 -08:00
2025-10-07 17:50:46 -07:00
2026-01-12 10:57:19 -08:00
2026-02-24 10:52:07 -08:00
2026-01-19 15:54:39 -08:00
2026-01-29 12:44:04 -08:00
2025-12-15 12:02:18 -08:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2025-11-13 15:36:20 -08:00
2025-09-17 15:47:40 -07:00
2025-12-15 12:02:19 -08:00
2025-10-09 13:20:53 -07:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:52:06 -08:00
2026-01-29 12:43:53 -08:00
2026-02-24 10:52:07 -08:00
2025-09-17 15:47:40 -07:00
2025-10-07 17:50:50 -07:00
2025-09-17 15:47:40 -07:00
2026-01-12 10:57:48 -08:00
2026-01-12 10:57:48 -08:00
2026-02-24 10:52:07 -08:00
2025-11-13 15:36:00 -08:00
2025-12-15 12:03:09 -08:00
2026-01-29 12:44:04 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-11-13 15:36:55 -08:00
2025-09-17 15:47:40 -07:00
2025-10-07 17:50:48 -07:00
2026-01-19 15:54:42 -08:00
2026-02-24 10:52:06 -08:00
2026-01-29 12:44:04 -08:00
2025-11-24 19:11:18 -08:00