Commit 99ea228
fix: Fix InputTokensDetails validation in OpenAI responses test and formatting in a2a_agent_executor
- Add missing `cache_write_tokens=0` to `InputTokensDetails` in `test_openai_responses_llm.py` to fix validation error with newer openai SDK versions.
- Remove extra empty line after `END_INTERNAL` in `a2a_agent_executor.py` to prevent double empty lines after Copybara export.
Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 9453266421 parent 2e2ec09 commit 99ea228
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- src/google/adk/a2a/executor
- tests/unittests/labs/openai
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
676 | 678 | | |
677 | 679 | | |
678 | 680 | | |
| |||
0 commit comments