Xiang (Sean) Zhou and Copybara-Service
9478a31bf2
fix: Lazy load retrieval tools and prompt users to install extensions if import failed
...
PiperOrigin-RevId: 792701550
2025-08-08 11:37:47 -07:00
Xiang (Sean) Zhou and Copybara-Service
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
Xiang (Sean) Zhou and Copybara-Service
af635674b5
feat: Support both output_schema and tools at the same time in LlmAgent
...
1. Allow developers to specify output schema and tools together.
2. If both are specified, do the following:
2.1 Do not set output schema on the model config
2.2 Add a special tool called set_model_response(result)
2.3 `result` has the same schema as the requested output_schema
2.4 Instruct the model to use set_model_response() to output its final result, rather than output text directly.
2.5 When the set_model_response() is called, ADK will extract its content and put it in a text part, so the client would treat it as the model response.
PiperOrigin-RevId: 792686011
2025-08-08 10:55:22 -07:00
Xiang (Sean) Zhou and Copybara-Service
b4ce3b12d1
fix: incorrect logic in LlmRequest.append_tools and make BaseTool to call it
...
PiperOrigin-RevId: 792642882
2025-08-08 08:53:57 -07:00
Google Team Member and Copybara-Service
98a5730115
fix: incorrect logic in LlmRequest.append_tools and make BaseTool to call it
...
PiperOrigin-RevId: 792518526
2025-08-08 01:29:47 -07:00
Xiang (Sean) Zhou and Copybara-Service
4b2a8e3186
fix: incorrect logic in LlmRequest.append_tools and make BaseTool to call it
...
PiperOrigin-RevId: 792474565
2025-08-07 22:53:54 -07:00
Sam Hatfield and Copybara-Service
e4d54b66b3
fix: Creates an InMemoryMemoryService within the EvaluationGenerator
...
Merge https://github.com/google/adk-python/pull/2263
Addresses #2084
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/2263 from sjhatfield:main 8d6fca48437f151c34b2766ea4813a777bafcabd
PiperOrigin-RevId: 792336301
2025-08-07 15:40:42 -07:00
Xuan Yang and Copybara-Service
5900273455
chore: add Github workflow config for uploading ADK docs to knowledge store
...
PiperOrigin-RevId: 792272706
2025-08-07 12:52:28 -07:00
Xuan Yang and Copybara-Service
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
Shangjie Chen and Copybara-Service
20c30d5819
chore: Bump version number to 1.10.0
...
PiperOrigin-RevId: 792206610
v1.10.0
2025-08-07 10:05:01 -07:00
Yeesian Ng and Copybara-Service
83e5df7862
fix: Set the agent_framework when initializing module-based agent engine
...
PiperOrigin-RevId: 792170095
2025-08-07 08:27:15 -07:00
Google Team Member and Copybara-Service
25b2806301
fix: accommodate for open api schema that do not have any 'properties'
...
PiperOrigin-RevId: 792028582
2025-08-07 00:30:50 -07:00
Xuan Yang and Copybara-Service
f6a022cda3
chore: only run ADK Answering Agent automatically when Q&A discussion is created
...
PiperOrigin-RevId: 792025646
2025-08-07 00:19:30 -07:00
Liang Wu and Copybara-Service
e0a8355219
chore(config): add the public URL of JSON schema file to template
...
PiperOrigin-RevId: 791983175
2025-08-06 21:50:20 -07:00
Liang Wu and Copybara-Service
d9ce2e691c
feat(config): implement config and from_config for MCPToolset
...
The connection_params argument in the constructor is split into four arguments in the config class because some of them have identical fields. In order to identify which is which, a separate name is more convenient.
PiperOrigin-RevId: 791965995
2025-08-06 20:45:58 -07:00
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
Xuan Yang and Copybara-Service
6277dae749
chore: add a disclaimer for the response from the answering agent
...
PiperOrigin-RevId: 791915465
2025-08-06 17:49:08 -07:00
Liang Wu and Copybara-Service
ef837015f3
refactor(config): move BaseToolConfig to a separate file
...
PiperOrigin-RevId: 791841562
2025-08-06 14:18:20 -07:00
Google Team Member and Copybara-Service
54cc849de7
feat: Add metadata field to ADK BaseTool
...
PiperOrigin-RevId: 791790030
2025-08-06 12:11:42 -07:00
Liang Wu and Copybara-Service
e73d71d324
feat(config): implement config and from_config for ExampleTool
...
Only list[Example] is supported in config. BaseExampleProvider will need to be used in code.
PiperOrigin-RevId: 791763913
2025-08-06 11:05:54 -07:00
Xiang (Sean) Zhou and Copybara-Service
e528749a1c
fix: lazy import VertexAiRagRetrieval
...
original codes try to eagerly import VertexAiRagRetrieval while it doesn't want to raise error if client try to import other names in this package and dependencies of VertexAiRagRetrieval is missing. so it swallow the import error which doesn't make sense, given vertex sdk is a must have for VertexAiRagRetrieval, we should fail fast.
this fix achieve the same purpose but fail fast if client try to import VertexAiRagRetrieval from this package and miss certain dependencies (e.g. vertex sdk)
PiperOrigin-RevId: 791759776
2025-08-06 10:54:57 -07:00
Liang Wu and Copybara-Service
1686cc57c2
feat(config): implement configs and from_config() for CrewaiTool and LangchainTool
...
PiperOrigin-RevId: 791742964
2025-08-06 10:19:12 -07:00
Wei Sun (Jack) and Copybara-Service
53803522b6
refactor(config): Makes BaseAgent.from_config a final method and let sub-class to optionally override _parse_config to update kwargs if needed
...
This ensures that the pydantic hooks (e.g. model_validators) are triggered correctly.
PiperOrigin-RevId: 791545704
2025-08-05 23:53:25 -07:00
Liang Wu and Copybara-Service
e3c2bf3062
chore: remove unused Example-related classes
...
PiperOrigin-RevId: 791538058
2025-08-05 23:26:06 -07:00
Liang Wu and Copybara-Service
2fff882fb0
feat(config): implement from_config() for BaseTool
...
PiperOrigin-RevId: 791520708
2025-08-05 22:26:23 -07:00