Ankur Sharma and Copybara-Service
fc85348f91
fix: add utf-8 encoding to file based reads and writes of eval data
...
This will help manage encoding consistency between reads and writes.
PiperOrigin-RevId: 785503746
2025-07-21 11:09:45 -07:00
Xiang (Sean) Zhou and Copybara-Service
ee3918e34e
chore: Update the error message when A2A is not supported for the installed python version
...
PiperOrigin-RevId: 785490858
2025-07-21 10:37:33 -07:00
Vasilii Novikov and Copybara-Service
81e0d4083f
feat: make GCS artifact service async under the hood
...
Merge https://github.com/google/adk-python/pull/1347
Fixes issue https://github.com/google/adk-python/issues/1346
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1347 from condorcet:async_gcs_artifact_storage 3efee5a923b08af606aa5525e31816e0bc7b865d
PiperOrigin-RevId: 785488472
2025-07-21 10:31:41 -07:00
Xiang (Sean) Zhou and Copybara-Service
3643b4ae19
feat: Allow toolset to process llm_request before tools returned by it
...
PiperOrigin-RevId: 785480813
2025-07-21 10:11:40 -07:00
Google Team Member and Copybara-Service
d2461ecccb
refactor: only import some module when needed and add follow_symlink=True when serve static files
...
PiperOrigin-RevId: 784956132
2025-07-19 12:54:05 -07:00
Calvin Giles and Copybara-Service
ffe2bdbe4c
feat: Add support for vertex gemini model optimizer
...
Merge https://github.com/google/adk-python/pull/1130
This enables the use of the `model-optimizer-*` family of models in vertex, as per the [documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/vertex-ai-model-optimizer#using-vertex-ai-model-optimizer ).
To use this, ensure your location is set to `global` and pass a model optimizer model to an agent:
```python
root_agent = Agent(
model="model-optimizer-exp-04-09",
name="fast_and_slow_agent",
instruction="Answer any question the user gives you - easy or hard.",
generate_content_config=types.GenerateContentConfig(
temperature=0.01,
model_selection_config=ModelSelectionConfig(
feature_selection_preference=FeatureSelectionPreference.BALANCED
# Options: PRIORITIZE_QUALITY, BALANCED, PRIORITIZE_COST
)
),
)
```
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1130 from calvingiles:feat-model-optimizer 1a76bfa22420edb07d83415dcea6dd0114084e8e
PiperOrigin-RevId: 784921913
2025-07-19 09:05:17 -07:00
Hangfei Lin and Copybara-Service
0ec69d05a4
feat: Enhance LangchainTool to accept more forms of functions
...
Now the LangchainTool can wrap:
* Langchain StructuredTool (sync and async).
* Langchain @Tool (sync and async).
This enhance the flexibility for user and enables async functionalities.
PiperOrigin-RevId: 784728061
2025-07-18 15:56:17 -07:00
Liang Wu and Copybara-Service
5edc493da9
chore: allow "from google.adk.tools import AgentTool"
...
PiperOrigin-RevId: 784606041
2025-07-18 09:30:40 -07:00
Copybara-Service
3568c9291d
Merge pull request #547 from jeffreyrubi:fix/missing-path-level-parameters
...
PiperOrigin-RevId: 784415343
2025-07-17 20:27:46 -07:00
seanzhou1023 and GitHub
637fa410d8
Merge branch 'main' into main
2025-07-17 18:23:32 -07:00
Sean Zhou
6f016609e8
fix: support path level parameters for open_api_spec_parser
...
autoformat the changes
2025-07-17 18:09:40 -07:00
Hangfei Lin and GitHub
bb1b1c695f
Merge branch 'main' into fix/missing-path-level-parameters
2025-07-17 17:46:27 -07:00
Wei Sun (Jack) and Copybara-Service
b1f4aebb25
chore: lint fixings in vertex_ai_memory_bank.py
...
* Adds type hints;
* Switches to lazy evaluation in logs.
PiperOrigin-RevId: 784353566
2025-07-17 16:21:49 -07:00
Shangjie Chen and Copybara-Service
2e778049d0
feat: Support passing fully qualified agent engine resource name when constructing session service and memory service
...
Resolves https://github.com/google/adk-python/issues/1760
PiperOrigin-RevId: 784353411
2025-07-17 16:19:55 -07:00
Ankur Sharma and Copybara-Service
36e45cdab3
feat: Enable FinalResponseMatchV2 metric as an experiment
...
PiperOrigin-RevId: 784346859
2025-07-17 15:59:47 -07:00
Thiago Salvatore
2f8bb91e6b
add docstring
2025-07-17 18:21:40 -03:00
Thiago Salvatore
b5850e0757
reformat file structure
2025-07-17 18:17:09 -03:00
Thiago Salvatore
53df35ee58
fix(schema to dict): fix serialization of tools with nested schema
2025-07-17 18:16:17 -03:00
Xuan Yang and Copybara-Service
1c4c887bec
fix: use the same word extractor for query and event contents in InMemoryMemoryService
...
PiperOrigin-RevId: 784236637
2025-07-17 10:43:01 -07:00
Xuan Yang and Copybara-Service
78697aa6af
chore: add to_session method in StorageSession for readability
...
PiperOrigin-RevId: 784232578
2025-07-17 10:32:18 -07:00
Ankur Sharma and Copybara-Service
b17d8b6e36
fix: Raise NotFoundError in list_eval_sets function when app_name doesn't exist
...
PiperOrigin-RevId: 784216832
2025-07-17 09:53:26 -07:00
Xiang (Sean) Zhou and Copybara-Service
377b5a9b78
fix: Add response schema for agent tool function declaration even when it's return None
...
PiperOrigin-RevId: 784216811
2025-07-17 09:51:34 -07:00
Xiang (Sean) Zhou and Copybara-Service
33ac8380ad
fix: Set response schema for function that returns None
...
PiperOrigin-RevId: 784053725
2025-07-16 23:59:45 -07:00
Jianfeng Zeng and Copybara-Service
31fa5d91bd
feat: Update builder/save endpoint to accept files as input. Write the agent yaml file to the agent folder
...
PiperOrigin-RevId: 783963934
2025-07-16 17:55:55 -07:00
Yifan Wang and Copybara-Service
2f6ab08580
chore: Release 1.7.0
...
PiperOrigin-RevId: 783918022
2025-07-16 15:29:19 -07:00