Liang Wu and Copybara-Service
dc193f7969
fix(config): fix adk create --type=config
...
Previously click didn't convert the input into the enum type.
PiperOrigin-RevId: 791922529
2025-08-06 18:10:21 -07:00
Wei Sun (Jack) and Copybara-Service
8ef2177658
test: Fixes adk cli options and method parameters mismatching and adds a unit test for future proof checking
...
The test will fail if `@option` list and method parameter don't match.
Future proof test for #2328
PiperOrigin-RevId: 791022512
2025-08-04 21:08:57 -07:00
Ankur Sharma and Copybara-Service
a54c7024cf
fix: Re-adding eval related changes
...
Due to reasons that are being investigated, some of the recent changes got unintentionally reverted. We are adding those back in this PR.
PiperOrigin-RevId: 789384063
2025-07-31 10:18:39 -07:00
Shangjie Chen and Copybara-Service
1cfe6e9ffe
chore: Remove unnecessary flags
...
PiperOrigin-RevId: 789379877
2025-07-31 10:07:39 -07:00
Liang Wu and Copybara-Service
bcac9ba44c
feat(config): add --type flag to adk create to allow starting with config
...
Updated the `adk create` default model version to gemini-2.5-flash.
PiperOrigin-RevId: 788589859
2025-07-29 13:45:11 -07:00
Ankur Sharma and Copybara-Service
c69dcf8779
feat: Added an Fast API new endpoint to serve eval metric info
...
This endpoint could be used by ADK Web to dynamically know:
- What are the available eval metrics in an App
- A description of those metrics
- A value range supported by those metrics
We also update the metric registry to make it mandatory to supply these details. The goal is to improve usability and interpretability of the eval metrics.
PiperOrigin-RevId: 787277695
2025-07-25 16:25:20 -07:00
Yeesian Ng and Copybara-Service
6419a2aa9b
fix: Switch from agent_engine_name to agent_engine_id for updating instances
...
PiperOrigin-RevId: 787179405
2025-07-25 11:24:10 -07:00
Wei Sun (Jack) and Copybara-Service
a3ff21eb0b
feat(config): Adds CustomAgentConfig to support user-defined agents in config
...
PiperOrigin-RevId: 787148485
2025-07-25 09:56:10 -07:00
Vicente Ferrara and Copybara-Service
a858d79b3a
feat: cli funcionality to deploy an Agent to a running GKE cluster
...
Merge https://github.com/google/adk-python/pull/1607
- Added CLI functionality so that we can deploy and Agent onto a GKE cluster
- Related documentation https://github.com/google/adk-docs/pull/445
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1607 from vicentefb:GkeDeployAgent 42f35d93b0a5df5f6dbeb9ee7f869cde51e2f6eb
PiperOrigin-RevId: 786857789
2025-07-24 15:32:23 -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
Alejandro Cruzado-Ruiz and Copybara-Service
bda3df2480
feat: Refactor AgentLoader into base class and add InMemory impl alongside existing filesystem impl
...
PiperOrigin-RevId: 786008518
2025-07-22 14:58:32 -07:00
Ankur Sharma and Copybara-Service
d1f182e8e6
feat: Use LocalEvalService to run all evals in cli and web
...
We update both adk web run eval endpoint and adk eval cli to use the LocalService. The old method is marked as deprecated and will be removed in later PRs.
PiperOrigin-RevId: 785612708
2025-07-21 16:15:11 -07:00
Liang Wu and Copybara-Service
aef54f8eb7
feat(config): support loading from YAML config in CLI
...
The supported CLIs are: `adk web`, `adk run` and `adk api_server`.
PiperOrigin-RevId: 781666724
2025-07-10 13:47:58 -07:00
Xiang (Sean) Zhou and Copybara-Service
e79651cd86
feat: Add A2A endpoints to fast api server when --a2a option is specified (WIP)
...
PiperOrigin-RevId: 776211580
2025-06-26 11:18:44 -07:00
Joseph Pagadora and Copybara-Service
fa025d7559
feat: Add a new option eval_storage_uri in adk web & adk eval to specify GCS bucket to store eval data
...
PiperOrigin-RevId: 774947795
2025-06-23 15:24:57 -07:00
Shangjie Chen and Copybara-Service
2fd8feb65d
chore: Support allow_origins in cloud_run deployment
...
Also reorganize the fast_api_common_options. This resolves https://github.com/google/adk-python/issues/1444 .
PiperOrigin-RevId: 773890111
2025-06-20 16:54:08 -07:00
Xiang (Sean) Zhou and Copybara-Service
5f89a469ec
chore: Add credential service to runner and invocation context
...
PiperOrigin-RevId: 772697298
2025-06-17 18:08:43 -07:00
Shangjie Chen and Copybara-Service
416dc6feed
feat: add memory_service option to CLI
...
chore: consolidate ADK service CLI options
PiperOrigin-RevId: 769944881
2025-06-10 21:22:14 -07:00
Xiang (Sean) Zhou and Copybara-Service
c224626ae1
fix: handle the case when agent loading error doesn't have msg attribute in agent loader
...
PiperOrigin-RevId: 767447874
2025-06-04 23:13:12 -07:00
Xiang (Sean) Zhou and Copybara-Service
7b51ae9724
fix: enhance agent loader exception handler and expose precise error information
...
PiperOrigin-RevId: 766876662
2025-06-03 16:56:29 -07:00
Xiang (Sean) Zhou and Copybara-Service
15a45a68fd
chore: move fast api test case to cli package to match source codes package structure
...
PiperOrigin-RevId: 766268528
2025-06-02 11:16:14 -07:00
Shangjie Chen and Copybara-Service
8d36dbda52
feat: Add an option to use gcs artifact service in adk web.
...
Resolves https://github.com/google/adk-python/issues/309
PiperOrigin-RevId: 765772763
2025-06-01 00:28:49 -07:00
Xiang (Sean) Zhou and Copybara-Service
2b41824e46
chore: fix fast api ut
...
PiperOrigin-RevId: 764935253
2025-05-29 16:40:40 -07:00
Xiang (Sean) Zhou and Copybara-Service
791ac9eb68
refactor: refactor cli to use agent loader
...
PiperOrigin-RevId: 764546019
2025-05-28 21:09:40 -07:00
Xiang (Sean) Zhou and Copybara-Service
618c824994
feat: extract agent loading logic from fast_api.py to a separate AgentLoader class and support more agent definition folder/file structure.
...
Structures supported:
a) agents_dir/agent_name.py (with root_agent or agent.root_agent in it)
b) agents_dir/agent_name_folder/__init__.py (with root_agent or agent.root_agent in the package)
c) agents_dir/agent_name_folder/agent.py (where agent.py has root_agent)
PiperOrigin-RevId: 763943716
2025-05-27 14:14:51 -07:00