George Weale and Copybara-Service
2367901ec5
chore: Upgrade to headers to 2026
...
Co-authored-by: George Weale <gweale@google.com >
PiperOrigin-RevId: 858763407
2026-01-20 14:50:09 -08:00
George Weale and Copybara-Service
1e6a9daa63
fix: Change instruction insertion to respect tool call/response pairs
...
Make sure _add_instructions_to_user_content skips over user messages that carry function_response parts so tool_use/tool_result blocks stay together
Close #3229
Co-authored-by: George Weale <gweale@google.com >
PiperOrigin-RevId: 826076141
2025-10-30 09:54:49 -07:00
Xiang (Sean) Zhou and Copybara-Service
cc24d616f8
feat: Support ContentUnion as static instruction
...
PiperOrigin-RevId: 817278990
2025-10-09 11:52:24 -07:00
Xiang (Sean) Zhou and Copybara-Service
ae5592e242
chore: Add tests for instruction provider and merge test_static_instructions.py to test_intructions.py
...
PiperOrigin-RevId: 810610507
2025-09-23 15:47:46 -07:00
Xiang (Sean) Zhou and Copybara-Service
927c75f0ee
chore: Replace imports by importing from actual module instead of from package (__init__.py)
...
PiperOrigin-RevId: 786342250
2025-07-23 10:49:43 -07:00
Xiang (Sean) Zhou and Copybara-Service
ff8a3c9b43
chore: reformat the codes using autoformat.sh
...
PiperOrigin-RevId: 762004002
2025-05-22 09:43:54 -07:00
Selcuk Gun and Copybara-Service
41b33d4a0a
Move public_utils to utils in tests
...
Renamed conflicting utils.py as testing_utils.py
PiperOrigin-RevId: 761715808
2025-05-21 16:35:11 -07:00
Selcuk Gun and Copybara-Service
9e9dfa7472
Prevent session state injection for provider supplied instructions
...
When the user provides instruction provider, we assume that they will inject the session state parameters if needed. This assumption allows users to return code snippets in the instruction provider without any template replacement.
PiperOrigin-RevId: 759705471
2025-05-16 12:09:48 -07:00
Google Team Member and Copybara-Service
05917cabbd
ADK changes
...
PiperOrigin-RevId: 759259620
2025-05-15 12:46:44 -07:00
Google Team Member and Copybara-Service
1804ca39a6
feat! Update session service interface to be async.
...
Also keep the sync version in the InMemorySessionService as create_session_sync() as a temporary migration option.
PiperOrigin-RevId: 759252188
2025-05-15 12:24:13 -07:00
Shangjie Chen and Copybara-Service
5b3204c356
feat! Update session service interface to be async.
...
Also keep the sync version in the InMemorySessionService as create_session_sync() as a temporary migration option.
PiperOrigin-RevId: 759224250
2025-05-15 11:17:13 -07:00
Selcuk Gun and Copybara-Service
4c4cfb74ae
Support async instruction and global instruction provider
...
PiperOrigin-RevId: 757808335
2025-05-12 10:03:34 -07:00
Jack Sun and GitHub
05142a07cc
Moves unittests to root folder and adds github action to run unit tests. ( #72 )
...
* Move unit tests to root package.
* Adds deps to "test" extra, and mark two broken tests in tests/unittests/auth/test_auth_handler.py
* Adds github workflow
* minor fix in lite_llm.py for python 3.9.
* format pyproject.toml
2025-04-11 08:25:59 -07:00