Commit Graph

471 Commits

Author SHA1 Message Date
Keith Rozario f4962d1923 fix: gcloud deploy cloudrun (#288)
Co-authored-by: Keith Rozario <krozario@google.com>
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 12:02:28 +05:30
Kaz Sato 3491df6790 fix: suppress pydantic warnings (#338)
fix: suppress pydantic warnings

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 11:57:58 +05:30
Lavi Nigam 5a690cf74a Pjchender/main - added license header (#339)
* doc: update openapi tool for v1.0.0

* added license header

---------

Co-authored-by: pjchender <pjchender@gmail.com>
2025-05-30 11:55:13 +05:30
Aaron Chen 79c0f65f5f doc: update openapi tool for v1.0.0 (#311)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 11:54:27 +05:30
Keith Rozario 4ff725f845 fix: after tool callback example (#289)
* fix: after tool callback example

* added license header and update code with async functions

---------

Co-authored-by: Keith Rozario <krozario@google.com>
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
Co-authored-by: Lavi Nigam <lavinigam@google.com>
2025-05-30 11:33:18 +05:30
Hangfei Lin 3a95819297 doc: Create configuration.md for live (#337)
* doc: Create configuration.md for live

* foc: Update configuration.md

* Update index.md

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 09:17:11 +05:30
Kaz Sato 1131778ade fix: Added SSL CERT setting and code snippets (#336)
* fix: Added SSL CERT setting and code snippets

fix: Added SSL CERT setting and code snippets

* fix: update the model name to -exp

fix: update the model name to -exp

* fix: changed model names on the troubleshooting tips

fix: changed model names on the troubleshooting tips
2025-05-30 08:13:12 +05:30
Utkarsh Vijayvergia dd85d2ac9a fix: remove invalid as_dict() usage from final session state logging (#307)
The code incorrectly called `.as_dict()` on a plain `dict` object, causing an AttributeError.

This commit replaces it with direct usage of the dictionary and adds a comment.

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-29 21:49:29 +05:30
Pawel Wojcik 1597075bce fix: typo in the adk-docs/get-started/quickstart (#309)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-29 21:45:36 +05:30
Samyukta Hariharan d32aec182d Fix: #310 Fix code in documentation for using MCPToolset out of ADK (#312)
* Fix #310

* Target folder path clearly defined

* addding import os

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-29 21:27:43 +05:30
Lavi Nigam ce11a0ffc0 fix(tutorial): Fixing multiple reported issues (#334)
* fix(tutorial): Correct say_hello tool logic, update LLM models, and ensure async session creation

This commit addresses several issues and updates within the ADK agent team tutorial (adk_tutorial.ipynb) and its corresponding documentation (agent-team.md).

Notebook Updates (adk-tutorial.ipynb):
- Ensured all `SessionService.create_session` calls are `await`ed for proper asynchronous operation throughout the notebook.
- Updated Anthropic model to `claude-sonnet-4-20250514` and OpenAI model to `gpt-4.1`, with commented alternatives for flexibility.
- Added LiteLLM documentation links for model references.
- Resolved the 'Hello None' issue in Step 3 by modifying the `say_hello` tool to correctly handle optional name arguments and prevent the `Default value is not supported` warning with Gemini models.
- Tested and confirmed notebook compatibility with `google-adk==1.0.0`.

Page Update (agent-team.md):
- Synchronized `agent-team.md` with all notebook changes to ensure documentation accuracy and reflect the latest updates.

* fix(tutorial): Refine CLI/Web UI agent team tutorial and update content

This commit introduces several fixes and improvements to the Python file-based version of the ADK agent team tutorial, aligning it for use with `adk web`, `adk run`, and `adk api_server`.

Key changes to the `adk-tutorial` Python files:
- Validated and ensured all tutorial steps are compatible with `google-adk==1.0.0`.
- Synchronized Python file content with the latest changes from the main Colab notebook version.
- Corrected `step2_anthropic.py`: agent name, description, and instruction strings now accurately reflect Anthropic context (previously used GPT-related strings).
- Updated model identifiers: `anthropic/claude-sonnet-4-20250514` in `step2_anthropic.py` and `openai/gpt-4.1` in `step2_gpt4.py`.
- Performed general cleanup and refactoring in `step3_agent_team.py`.
- Added example queries directly within the agent Python files for Steps 1, 2, 3, 5, and 6 to facilitate easier testing by users.
- Removed `step4_state_personalization.py` as its demonstration of session state manipulation (especially direct InMemorySessionService updates) is better suited for an interactive notebook environment.

README.md Updates:
- Added a note explaining the removal of Step 4 and directing users to the interactive notebook version for that specific content.
- Included references to the newly added sample queries in the agent Python files, guiding users on how to test the agent's functionalities.
2025-05-29 21:03:20 +05:30
Andrew Larimer 79eb0685ce docs: add line break to render bullet points in agent-team.md (#326)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-29 05:57:23 -05:00
Kaz Sato c638834aeb fix: add SSE Streaming sample (#332)
add SSE Streaming sample
2025-05-29 17:44:46 +09:00
Kaz Sato b721bceef3 fix: to support adk 1.0.0 (#324)
to support adk 1.0.0
2025-05-28 18:07:30 +09:00
Jack Wotherspoon 63fce3b0e2 docs: update artifact docs to use async/await (#296) 2025-05-27 00:42:03 -05:00
Mofi Rahman 816eb6185d docs: add gke link in deploy index.md (#299)
Signed-off-by: Mofi Rahman <mofi@google.com>
2025-05-25 03:01:53 -05:00
Kristopher Overholt 77c93e2158 fix: Minor edits to style and formatting on MCP and quickstart pages (#293) 2025-05-21 17:10:59 -05:00
G. Hussain Chinoy a4e4e6a9f7 doc: adds MCP Tools for Genmedia Services (#287)
* doc: adds MCP Tools for Genmedia Services

* doc: updates 'example' for consistency
2025-05-21 15:09:36 -05:00
shukladivyansh 949e29a51b feat: Show adk-java repo in the header (#284)
* Update mkdocs.yml

* Update custom.css and source.html
2025-05-20 14:51:40 -04:00
Abirami Sukumaran eb30676d27 fix: patent search example- included code blocks for structure
Updated for code blocks.

Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
2025-05-20 14:09:10 -04:00
Megan O'Keefe be888881f4 Updates llms.txt and adds llms-full.txt (#282) 2025-05-20 14:01:13 -04:00
Polong Lin fcab6166ae feat: add link to adk web repo (#279) 2025-05-20 18:44:10 +01:00
Megan O'Keefe 15e5baed11 Java example cleanup (#280)
* cleanup

* Save
2025-05-20 13:20:29 -04:00
Sita Lakshmi Sangameswaran 9a2a2f52c0 chore: remove references to video in mkdocs nav (#272) 2025-05-20 12:58:31 -04:00
Megan O'Keefe 0887973bed feat: Initializes Java documentation (#277) 2025-05-20 12:10:27 -04:00
Jack Wotherspoon 17f421f88a docs: update MCP Toolbox docs (#266)
* docs: update MCP Toolbox docs

* chore: update docs

* chore: update typos

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-19 06:59:08 -05:00
Kaz Sato a541515ed1 fix: add Streaming video to the doc (#271)
add Streaming video to the doc
2025-05-19 06:57:57 -05:00
Ankur 2fd184176e docs: Update eval documentation to reflect eval recent schema updates. (#269)
* docs: Updates eval documentation to reflect recent eval schema updates.

* Addressed review comments.

* Added clarification on identifying when to use the migration.
2025-05-18 19:43:03 +01:00
Kaz Sato 77e55137b5 feat: Add e-commerce recommendation notebook intro (#258)
* feat: Add e-commerce recommendation notebook intro

Add e-commerce recommendation notebook intro

* fix: added a video link

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-16 22:44:24 -05:00
Jiao, Hsu dd7fe93b27 fix(docs): add missing URL to [setup]() link in MCP Tools section (#261)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-16 22:43:35 -05:00
Kristopher Overholt add3b2b26c fix: Update notice in README and docs (#268) 2025-05-16 16:19:19 -05:00
Kavin Kumar B b959c99326 fix: redundant only's in sequential agent (#253) 2025-05-13 19:26:35 +05:30
Kaz Sato e15f548e73 fix: fix the image path (#249)
fix the image path
2025-05-12 14:51:21 -05:00
Zike Yang 51dfbb6f57 fix: fix hunman_in_the_loop example (#240)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-12 10:21:11 -05:00
刘泽森 95727a5324 docs(examples): update commands and links in ADK tutorial README (#239)
Correct `adk run` and `adk api_server` commands by removing script-specific references. Adjust documentation link titles and URLs to point to updated sections for clarity and accuracy.

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-12 10:19:06 -05:00
Sita Lakshmi Sangameswaran a15cc0e92f docs(community): add ADK tutorial videos (#233)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-12 10:13:46 -05:00
Zack Akil 7727dacc5b added interactive conversation within notebook (#241)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-12 10:12:02 -05:00
Kaz Sato 6d8d499479 feat: add audio Streaming sample (#244)
* feat: add audio Streaming sample

add audio Streaming sample

* fix: added license headers

added license headers
2025-05-12 10:09:30 -05:00
Kaz Sato 99e3903391 feat: Add shop agent notebook (#236)
* feat: Add shop agent notebook

This is a supplemental notebook sample for upcoming video created with Sita.

* fix: add mermaid code for the diagram

add mermaid code for the diagram

---------

Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
2025-05-12 12:47:34 +09:00
Brandon Hancock (aiwithbrandon) bb05ee4b74 docs: add ADK Masterclass video to community resources (#237)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-09 23:41:00 -05:00
Hangfei Lin 2b5b1a2b3c fix: fix the imports for adk streaming example (#231)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-09 23:33:46 -05:00
Kristopher Overholt 7106331b65 Update API docs (#238) 2025-05-09 15:30:10 -05:00
Jack Wotherspoon d8acf78f21 docs: add notes about requirements.txt for deploying ADK to Cloud Run (#227)
* chore: update google-cloud-tools.md

* docs: add notes about requirements.txt for deploying ADK to Cloud Run

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
2025-05-08 13:57:20 +01:00
seanzhou1023 e62f7565d2 fix: fix long running tool docs (#229)
Co-authored-by: Sean Zhou <seanzhougoogle@google.com>
2025-05-07 13:37:03 -05:00
Preston Holmes 35e0021030 fix: Minor cleanup to FastMCP sample (#225)
* Add missing import to FastMCP sample

Missing the import from contextlib

* Remove unneeded SseServerParams

These did not cause errors, but are not required or used by the library

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-07 08:23:54 -05:00
Kaz Sato 0bfb2c3cc9 fix: Fixed the google search tool name and model name (#226)
* fix: Fixed the google search tool name and model name

- With 0.4.0, the tool name has changed to google_search
- As of today, gemini-2.0-flash-exp is the workable model with Streaming for ADK that is soon to be replaced with gemini-2.0-flash-live-001.

* Formatting

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
Co-authored-by: Kristopher Overholt <koverholt@google.com>
2025-05-07 08:22:08 -05:00
Kavin Kumar B 5e6fc82b76 fix: google_search import issue (#219) 2025-05-07 08:16:57 -05:00
Keith Rozario 56a6b79443 fix: eval_name argument name (#224)
* fixed eval variable name

* fix: eval_name argument name

---------

Co-authored-by: Keith Rozario <krozario@google.com>
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-06 09:22:25 -05:00
Jack Wotherspoon 6cc5de0099 chore: update google-cloud-tools.md (#218)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-06 09:17:29 -05:00
rdaros b940d4b4a9 docs: update built-in-tools.md to clarify tool limitations (#217)
* Update built-in-tools.md

Improvement to the Limitation section of the built-in tools documentation to make it more clear.

Discussed with @hangfei in the thread below:

https://github.com/google/adk-python/issues/514#issuecomment-2848385620

* docs: update built-in-tools.md to clarify tool limitations

Improvement to the Limitation section of the built-in tools documentation to make it more clear.

Discussed with @hangfei in the thread below:

https://github.com/google/adk-python/issues/514#issuecomment-2848300424

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-05-06 09:15:08 -05:00