Files
CLIProxyAPI/internal/runtime/executor/helps
Luis Pater a07d358295 fix(executor): sanitize nested input content parts and empty function_call id in Gemini Interactions
- Extract sanitizeGeminiInteractionsItemDoc on *ojson.Doc and apply it to both top-level input steps and nested input[].content[] parts, compacting dropped nested thoughts and preserving nested function_call IDs.
- Promote non-blank call_id verbatim to id when function_call.id is missing, empty, or whitespace-only before stripping call_id, and skip content traversal on kept top-level thought steps.
- Add regression tests covering nested function_call/thought sanitization, Vertex bare-Tink scoping, verbatim call_id promotion, and combined top-level/nested thought compaction.

Closes: #8153
2026-11-26 02:41:47 +08:00
..