Liang Wu
43f302ce1a
chore(config): Add _config suffix to all yaml-based agent examples
...
Also expand agent folder name to full spelling, e.g. ma --> multi_agent
PiperOrigin-RevId: 795926902
2025-08-16 16:10:43 -07:00
Liang Wu
ba6e85eb3f
docs(config): fix core_callback example
...
PiperOrigin-RevId: 795619488
2025-08-15 14:44:53 -07:00
Xiang (Sean) Zhou
a2832d5ac7
feat: Support custom tool_name_prefix in auto-generated GoogleApiToolset
...
PiperOrigin-RevId: 795508179
2025-08-15 09:44:16 -07:00
Wei Sun (Jack)
1328e6ef62
docs(config): Adds a minimal sample to demo how to use Agent Config to create a multi-agent setup
...
PiperOrigin-RevId: 795501478
2025-08-15 09:22:52 -07:00
Liang Wu
6c217bad82
chore: update models in samples/ folder to be gemini 2.0+
...
Gemini 1.5 is obsolete and not accessible to new projects.
PiperOrigin-RevId: 795330977
2025-08-14 21:36:23 -07:00
Google Team Member
c8059428a2
chore: add contributing spanner sample
...
PiperOrigin-RevId: 795154839
2025-08-14 12:41:28 -07:00
Xiang (Sean) Zhou
52284b1bae
fix: A2A RPC URL got overriden by host and port param of adk api server
...
PiperOrigin-RevId: 794708721
2025-08-13 13:20:26 -07:00
Kacper Jawoszek
a30c63c593
fix: aclose all async generators to fix OTel tracing context
...
See https://github.com/google/adk-python/issues/1670#issuecomment-3115891100
PiperOrigin-RevId: 794659547
2025-08-13 11:18:26 -07:00
Wei Sun (Jack)
c5af44cfc0
docs(config): Fixes tool_functions, which is a config-based sample for using tools
...
PiperOrigin-RevId: 794652291
2025-08-13 11:01:52 -07:00
Google Team Member
114db93d70
ADK changes
...
PiperOrigin-RevId: 794403729
2025-08-12 22:29:23 -07:00
Hangfei Lin
e2518dc371
fix: Ignore AsyncGenerator return types in function declarations
...
For Vertex model backend, we send response back. This doesn't work for streaming tools that the return type is AsyncGenerator. So the fix here is to ignore the return type when it's AsyncGenerator.
We can't distinguish streaming vs non-streaming tool with AsyncGenerator though as LiveRequestQueue is optional in streaming tool.
Adds an `ignore_response` option to `build_function_declaration` to skip including the return type in the function declaration. This is enabled for tools that return `AsyncGenerator`, as the model does not yet support understanding these return types, while streaming tools can still handle them. Also, removes redundant return statements in `_get_mandatory_params`.
PiperOrigin-RevId: 794392846
2025-08-12 21:45:52 -07:00
Xuan Yang
a09a5e67aa
chore: add the missing env variables in discussion_answering.yml
...
PiperOrigin-RevId: 794285985
2025-08-12 15:12:03 -07:00
Xuan Yang
5fba1963c3
chore: add Gemini API docs as a new datastore for the ADK Answering Agent
...
PiperOrigin-RevId: 794247007
2025-08-12 13:30:00 -07:00
Xuan Yang
7d2cb654f0
chore: add the missing license header for some sample agents' files
...
PiperOrigin-RevId: 794165986
2025-08-12 10:24:36 -07:00
Wei Sun (Jack)
e295feb4c6
docs: Add workflow_triage sample for multi-agent request orchestration
...
Demonstrates intelligent triage system with root planning agent and parallel
execution agents.
Use session state to store the execution plan and coordinate with other specialized agents.
Check out README.md for more details.
PiperOrigin-RevId: 793884758
2025-08-11 19:05:53 -07:00
Liang Wu
d87feb8ddb
docs(config): add examples for config agents
...
PiperOrigin-RevId: 793871778
2025-08-11 18:09:55 -07:00
Wei Sun (Jack)
d674178a05
chore: Fixes generate_image sample
...
PiperOrigin-RevId: 793725452
2025-08-11 11:15:06 -07:00
Xiang (Sean) Zhou
f2005a2026
chore: Add sample agent to test support of output_schema and tools at the same time for gemini model
...
PiperOrigin-RevId: 792694074
2025-08-08 11:16:31 -07:00
Xuan Yang
b5a8bad170
chore: update ADK Answering agent to reference doc site instead of adk-docs repo
...
PiperOrigin-RevId: 792259386
2025-08-07 12:17:09 -07:00
Xuan Yang
6277dae749
chore: add a disclaimer for the response from the answering agent
...
PiperOrigin-RevId: 791915465
2025-08-06 17:49:08 -07:00
Hangfei Lin
71fbc9275b
feat: Implement Live Session Resumption
...
Previous implementation doesn't pass the actual handle to server. Now we cache the handle and pass it over when reconnection happens.
To enable:
run_config = RunConfig(
session_resumption=types.SessionResumptionConfig(transparent=True)
)
PiperOrigin-RevId: 791308462
2025-08-05 11:50:54 -07:00
Xiang (Sean) Zhou
37dae9b631
chore: Import AGENT_CARD_WELL_KNOWN_PATH from adk instead of from a2a directly
...
thus let adk handle import problem for a2a, e.g. python version need to be > 3.10 etc.
PiperOrigin-RevId: 791273137
2025-08-05 10:28:37 -07:00
Xuan Yang
283303032a
chore: update the prompt to make the ADK Answering Agent more objective
...
PiperOrigin-RevId: 790882938
2025-08-04 13:59:59 -07:00
Xiang (Sean) Zhou
90b9193a20
chore: Add sample agent for testing parallel functions execution
...
PiperOrigin-RevId: 790208057
2025-08-02 14:53:03 -07:00
Google Team Member
bead607364
chore: Hide the ask_data_insights tool until the API is publicly available
...
PiperOrigin-RevId: 789806535
2025-08-01 10:17:13 -07:00