Wei Sun (Jack) and Copybara-Service
b9b2c3fb54
chore: Adds autoformat.sh for formatting codebase.
...
PiperOrigin-RevId: 762301862
2025-05-23 00:41:18 -07:00
Wei Sun (Jack) and Copybara-Service
fe618c3d93
chore: use relative import in google_api_toolsets.py. Adds open source header for base_toolset.py
...
PiperOrigin-RevId: 762042799
2025-05-22 11:13:57 -07:00
Wei Sun (Jack) and Copybara-Service
a63ea2735c
chore: Removes unused import.
...
PiperOrigin-RevId: 762039696
2025-05-22 11:05:45 -07:00
Wei Sun (Jack) and Copybara-Service
e0851a1e57
chore: batch organize imports.
...
PiperOrigin-RevId: 761824628
2025-05-21 23:40:47 -07:00
Wei Sun (Jack) and Copybara-Service
1773cdab96
chore: Batch organize imports with isort.
...
Command: `isort /src`
PiperOrigin-RevId: 761644934
2025-05-21 13:23:32 -07:00
Wei Sun (Jack) and Copybara-Service
bb00c9519d
chore: Adds link to Java ADK in README.md
...
PiperOrigin-RevId: 761162478
2025-05-20 11:30:45 -07:00
Wei Sun (Jack) and Copybara-Service
5115474f2b
chore!: bump version to 1.0.0, updated changelog.md and removed src/google/adk/tools/built_in_code_execution_tool.py
...
Mark src/google/adk/tools/_built_in_code_execution_tool.py as private and will be fully removed soon.
PiperOrigin-RevId: 760889060
2025-05-19 20:31:27 -07:00
Wei Sun (Jack) and Copybara-Service
3f21a52853
chore: Fixes the main.py for memory/agent.py sample.
...
PiperOrigin-RevId: 760741263
2025-05-19 13:08:57 -07:00
Wei Sun (Jack) and Copybara-Service
ae7d19a4c6
chore: Moves toolbox-core to extensions extra dependency.
...
PiperOrigin-RevId: 760722343
2025-05-19 12:15:55 -07:00
Wei Sun (Jack) and Copybara-Service
9932015f3b
chore: Makes --host backward compatible for cloud_run deploy. --host only available after 0.5.0.
...
PiperOrigin-RevId: 760681697
2025-05-19 10:35:05 -07:00
Wei Sun (Jack) and Copybara-Service
9e767b3fe1
chore: Creates a sample main.py to demonstrate how to use adk as a library for the workflow agent in docs.
...
For Issue #573 .
PiperOrigin-RevId: 760380509
2025-05-18 16:17:16 -07:00
Wei Sun (Jack) and Copybara-Service
e278ca9541
chore: Refines mcp_agent instruction to include the allowed folder in the instruction.
...
PiperOrigin-RevId: 760057162
2025-05-17 12:57:11 -07:00
Wei Sun (Jack) and Copybara-Service
9324801b75
chore: Fixes test_fast_api.py (part I for circular deps).
...
It still fails due to signal used not in main thread. It will be fixed later.
PiperOrigin-RevId: 760050504
2025-05-17 12:22:04 -07:00
Wei Sun (Jack) and Copybara-Service
f592de4cc0
chore: constructor shouldn't have return type hint.
...
PiperOrigin-RevId: 760021373
2025-05-17 09:57:30 -07:00
Wei Sun (Jack) and Copybara-Service
57de9634de
chore: Fixes unittests/tools/application_integration_tool/test_application_integration_toolset.py
...
PiperOrigin-RevId: 760019822
2025-05-17 09:49:35 -07:00
Wei Sun (Jack) and Copybara-Service
729001fc0b
chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)
...
PiperOrigin-RevId: 760019467
2025-05-17 09:47:55 -07:00
Wei Sun (Jack) and Copybara-Service
0d7d7918b6
chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)
...
PiperOrigin-RevId: 759894901
2025-05-16 23:04:02 -07:00
Wei Sun (Jack) and Copybara-Service
482099c925
chore!: Sets up google_adk for top level logger namespace. Removes --log_to_tmp option in adk web and adk api_server for the same reason.
...
Context: google-auth commit [1] broke adk log, because it disables the top level logger named "google", which is also adk's top level logger. We establish a separate top level logger with a different name `google_adk` to prevent this in the future.
This commit only changes google_llm.py. All other files will be changed in later commits.
[1] https://github.com/googleapis/google-auth-library-python/commit/77ad53eb00c74b3badc486c8207a16dbc49f37e5#diff-e386c2b2c39b4d746c1e257f503acecbde49b1746b1a34f53b57083ed6094161
PiperOrigin-RevId: 759872317
2025-05-16 21:28:33 -07:00
Wei Sun (Jack) and Copybara-Service
021aaddf32
chore: Allows BaseAgent in the constructor of InMemoryRunner.
...
PiperOrigin-RevId: 759818175
2025-05-16 17:42:58 -07:00
Wei Sun (Jack) and Copybara-Service
186b5de826
chore: formats google_llm.py.
...
PiperOrigin-RevId: 759803357
2025-05-16 16:49:45 -07:00
Wei Sun (Jack) and Copybara-Service
03f167c1d3
chore: Adds toolbox-core to deps and fixes toolbox code error.
...
PiperOrigin-RevId: 759802478
2025-05-16 16:46:11 -07:00
Wei Sun (Jack) and Copybara-Service
d0f117ebbc
chore: call base class constructor in McpTool constructor.
...
PiperOrigin-RevId: 759644369
2025-05-16 09:28:15 -07:00
Wei Sun (Jack) and Copybara-Service
b72573c57d
chore: Adds mypy to dev extra.
...
PiperOrigin-RevId: 759460917
2025-05-15 22:57:54 -07:00
Wei Sun (Jack) and Copybara-Service
a786f75968
Uses logs method parameter to set log level.
...
PiperOrigin-RevId: 759378777
2025-05-15 18:00:40 -07:00
Wei Sun (Jack) and Copybara-Service
04820cb0a7
chore: Fixes a few samples for the breaking session service change.
...
PiperOrigin-RevId: 759354632
2025-05-15 16:44:23 -07:00
Wei Sun (Jack) and Copybara-Service
d27fe90d37
chore: fix wrong imports.
...
PiperOrigin-RevId: 759321579
2025-05-15 15:17:51 -07:00
Wei Sun (Jack) and Copybara-Service
b67182c50f
chore: Adds docstring for LlmAgent.disallow_transfer_to_parent to clarify the expected behavior.
...
PiperOrigin-RevId: 758676926
2025-05-14 07:36:51 -07:00
Wei Sun (Jack) and Copybara-Service
71bd808a14
Fixes: eval_result endpoint throws due to folder not existing.
...
PiperOrigin-RevId: 758508672
2025-05-13 22:03:38 -07:00
Wei Sun (Jack) and Copybara-Service
30947b48b8
feat(memory)!: Uses the new MemoryEntry schema for all memory related components.
...
BREAKING CHANGE. This commit changes all memory related interface to using the newly introduced MemoryEntry class.
PiperOrigin-RevId: 758464887
2025-05-13 19:07:11 -07:00
Wei Sun (Jack) and Copybara-Service
825f5d4f2e
feat: Adds new interface for MemoryEntry.
...
PiperOrigin-RevId: 758448993
2025-05-13 18:01:33 -07:00
Wei Sun (Jack) and Copybara-Service
d046367826
chore: Removes logging config in tools/google_api_tool/googleapi_to_openapi_converter.py.
...
PiperOrigin-RevId: 758436692
2025-05-13 17:16:03 -07:00
Wei Sun (Jack) and Copybara-Service
66553b18c6
chore: Treats google.adk as known_third_party in pyproject.toml for organizing imports in samples.
...
PiperOrigin-RevId: 758434037
2025-05-13 17:06:52 -07:00
Wei Sun (Jack) and Copybara-Service
33acb26565
chore: Bump min version for google-genai sdk to 1.13.0.
...
PiperOrigin-RevId: 756806752
2025-05-09 09:57:08 -07:00
Wei Sun (Jack) and Copybara-Service
28abc306c3
chore: fixes type hint in base_artifact_service.py
...
`pass` is not required when docstring exists.
PiperOrigin-RevId: 755413158
2025-05-06 09:58:18 -07:00
Wei Sun (Jack) and Copybara-Service
dbea793cf5
chore: Updates model_config docstring to explicitly mentioning pydantic.
...
This is to disambiguate between pydantic model and LLM.
PiperOrigin-RevId: 754981617
2025-05-05 10:12:44 -07:00
Wei Sun (Jack) and Copybara-Service
a930633fad
chore: Sets single_line_exclusions to [] to be consistent with internal style guide.
...
PiperOrigin-RevId: 754974408
2025-05-05 09:56:27 -07:00
Wei Sun (Jack) and Copybara-Service
6595cda037
Update description of before/after_agent_callback to clarify the behavior.
...
PiperOrigin-RevId: 754207459
2025-05-02 18:57:50 -07:00
Wei Sun (Jack) and GitHub
3fddac5813
Merge pull request #256 from sumant-pangotra/#247-OpenAPIToolSet-Considering-Required-parameters
...
fix : #247 OpenAPIToolSet Parameter required field and description
Merged in https://github.com/google/adk-python/commit/e8fb4ed3fcba1f455507c38275ee17218017a409
2025-05-02 10:47:28 -07:00
Wei Sun (Jack) and GitHub
9b52ce28f5
Merge branch 'main' into #247-OpenAPIToolSet-Considering-Required-parameters
2025-05-02 10:46:47 -07:00
Wei Sun (Jack) and GitHub
f12300113d
Merge branch 'main' into #247-OpenAPIToolSet-Considering-Required-parameters
2025-05-01 18:47:28 -07:00
Wei Sun and Copybara-Service
23b41c3f94
Uses google's profile for isort.
...
PiperOrigin-RevId: 753619497
2025-05-01 09:31:06 -07:00
Wei Sun and Copybara-Service
b691904e57
chore: Adds a github action to check pyformat via pyink.
...
PiperOrigin-RevId: 753246116
2025-04-30 11:28:12 -07:00
Wei Sun (Jack) and GitHub
641781bced
Merge pull request #434 from AlankritVerma01/support-async-tool-callbacks
...
feat(llm_flows): support async before/after tool callbacks
2025-04-29 22:49:18 -07:00
Wei Sun (Jack) and GitHub
c4e09a2edb
Merge branch 'main' into support-async-tool-callbacks
2025-04-29 22:48:45 -07:00
Wei Sun (Jack) and GitHub
67b6fbbe01
chore: Adds a github action to check pyformat via pyink. ( #440 )
...
* Adds pyink.yml github action to check file format
* Update pyink.yml to give recommended commands.
2025-04-29 09:39:18 -07:00
Wei Sun (Jack) and Copybara-Service
e6109b1dd6
Copybara import of the project:
...
--
005028831b2e0873414db62af9ec02ef47a670d2 by Wei Sun (Jack) <weisun@google.com >:
Excludes tests/unittests/tools/application_integration_tool/clients/test_connections_client.py from python-unit-tests.yml
--
42ed38ff814f1a4811468d78cf1872869279919d by Wei Sun (Jack) <weisun@google.com >:
reorder skipped tests in python-unit-tests.yml
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/368 from google:fix-unittests 42ed38ff814f1a4811468d78cf1872869279919d
PiperOrigin-RevId: 750782234
2025-04-23 17:35:34 -07:00
Wei Sun and Copybara-Service
a49d339251
bump version number to 0.3.0.
...
PiperOrigin-RevId: 750661619
2025-04-23 11:22:54 -07:00
Wei Sun (Jack) and GitHub
04e4c85b4e
Merge pull request #355 from wyf7107/live-error-toast
...
fix: Add error toast message when live does not work with certain models
2025-04-22 22:26:38 -07:00
Wei Sun and Copybara-Service
49d8c0fbb2
bump min version of google-genai sdk to latest.
...
PiperOrigin-RevId: 750324961
2025-04-22 14:17:27 -07:00
Wei Sun and Copybara-Service
a5f191650b
chore: update the readme for a2a integration.
...
PiperOrigin-RevId: 749856734
2025-04-21 11:17:04 -07:00
Wei Sun and Copybara-Service
1e752b1378
chore: Fixes type hints in google_api_tool_set.py.
...
PiperOrigin-RevId: 749844560
2025-04-21 10:42:48 -07:00
Wei Sun and Copybara-Service
2af777af6d
No public description
...
PiperOrigin-RevId: 749409258
2025-04-19 16:34:44 -07:00
Wei Sun and Copybara-Service
6742ab9236
No public description
...
PiperOrigin-RevId: 749202950
2025-04-18 18:08:03 -07:00
Wei Sun and Copybara-Service
30b1722cca
No public description
...
PiperOrigin-RevId: 749119500
2025-04-18 12:51:32 -07:00
Wei Sun (Jack) and GitHub
5eca8214a8
Merge pull request #243 from trandangtrungduc/fix_typos
...
fix typos in tools/ and tests/
2025-04-18 12:49:05 -07:00
Wei Sun (Jack) and GitHub
e0a360a1a2
Merge branch 'main' into fix_typos
2025-04-18 12:46:33 -07:00
Wei Sun and Copybara-Service
1cd61242ef
No public description
...
PiperOrigin-RevId: 749110560
2025-04-18 12:21:07 -07:00
Wei Sun and Copybara-Service
dfb283e6e0
No public description
...
PiperOrigin-RevId: 749076119
2025-04-18 10:35:34 -07:00