Commit Graph

169 Commits

Author SHA1 Message Date
sitalakshmi 620b3dd9ff fix mkdocs parse error in bidi and remove extra header 2025-06-27 13:21:51 -04:00
Vicente Ferrara df063e3d56 Merge branch 'GkeDeployAgentDoc' of https://github.com/vicentefb/adk-docs into GkeDeployAgentDoc 2025-06-26 18:04:18 +00:00
Vicente Ferrara 027b2da488 ocs: added documentation for Agent deployment on GKE cluster 2025-06-26 18:03:49 +00:00
Hangfei Lin 0e74a29e7d Merge branch 'main' into GkeDeployAgentDoc 2025-06-25 17:51:47 -07:00
Shobhit Singh 36911713e9 docs: document built-in BigQuery tools (#449)
* Mention BigQuery tools among built-in tools

* Create bigquery.py

* Update bigquery snippet with working code
2025-06-25 13:06:51 -07:00
Vicente Ferrara bfa1b3d677 docs: added documentation for Agent deployment on GKE cluster 2025-06-24 20:09:09 +00:00
Vicente Ferrara 95126af03e added docs for Agent deployment on Gke cluster 2025-06-24 19:15:27 +00:00
Kaz Sato 2f522393a0 fix: Update formatting of the Bidi-streaming dev guide part 1 (#443)
* fix: Update formatting of the Bidi-streaming dev guide part 1

fix: Update formatting of the Bidi-streaming dev guide part 1

* fix: update mkdocs.yml for the streaming doc updates

fix: update mkdocs.yml for the streaming doc updates

---------

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-06-24 07:32:18 -05:00
Sita Lakshmi Sangameswaran 242fed6007 chore: remove launch banner in homepage (#440) 2025-06-24 07:27:26 -05:00
s-yeddula 57348743b9 docs: Arize AX and phoenix tracing documentation (#431)
* adding docs

* docs: add Arize AX and Phoenix tracing documentation
2025-06-23 18:25:18 +05:30
Thomas Chong 683413fa84 fix(docs): Correct typo in streaming documentation (#410)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-06-20 14:55:04 -05:00
Aslam Anver b7a0478a93 Fix: Use correct variable and imports (#421)
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-06-20 11:25:18 -05:00
HU, Pili e9d308d43c update arg to session_service_uri (#427) 2025-06-20 11:16:28 -05:00
Kaz Sato 6619b11683 fix: missing links and formatting on streaming/index.md (#430)
* fix: missing links and formatting on streaming index.md

fix: missing links and formatting on streaming index.md

* fix: missing links and formatting on streaming/index.md

fix: missing links and formatting on streaming/index.md
2025-06-20 17:22:01 +09:00
Kaz Sato 560226dd4b feat: added Bidi-streaming dev guide part 1. (#429)
feat: added Bidi-streaming dev guide part 1.
2025-06-20 13:36:17 +05:30
Kristopher Overholt a167be5e97 feat: Testing the newly added link checker (#426)
* Testing the newly added link checker

* Switch actions

* Add detailed config file and URL pattern to ignore

* Additional patterns

* Set projectBaseUrl

* Try default

* More CI tweaks

* Tweak config again

* Edit

* Minimal

* Add status codes

* Fix some links

* Simple config

* Fix more links

* Ignore 403 errors

* Fix Markdown links
2025-06-17 23:23:25 -05:00
Kristopher Overholt 69bc1335c4 Fix build warnings and config (#424) 2025-06-17 21:59:54 -05:00
Kaz Sato d6c9f34257 feat: modifying the Evaluate docs with the new features. (#412)
* feat: modifying the Evaluate docs with the new features.

New features added:
1. Evaluation Configuration: users can now configure custom threshold for the metrics used for each eval run, allowing more control for the evaluation criteria

2. Evaluation Case view & edit: Each eval case added can now be viewed and edited. Right now we only support edit of text responses from Agent. This allows users to customize the response to fit their needs

3. New tracing: We have a new tab which contains all traces grouped by user messages. Each trace row is clickable and hoverable. Upon hover the corresponding message will be highlighted in the chat window. Upon click, the bottom panel will show up that contains Event detail, Request, Response, and Graph that corresponds to that trace row

* fix: modified the Step 2, and added the Trace View section

fix: modified the Step 2, and added the Trace View section

* fix: added gif animations

fix: added gif animations

* fix: inserted the gif animations

fix: inserted the gif animations

* fix: added an explanation for the blue rows

fix: added an explanation for the blue rows
2025-06-18 05:31:19 +09:00
Hangfei Lin acf8c011ec doc: Update quickstart-streaming.md (#413) 2025-06-17 05:13:38 +09:00
Hangfei Lin 5ee4fd0797 doc: Update quickstart-streaming.md (#411)
* doc: Update quickstart-streaming.md

doc: remove the model name as it changes very often and it's causing confusion. instead, point them to the right source so they can figure it out.

* doc: Update quickstart-streaming.md

* doc: Update quickstart-streaming.md
2025-06-17 04:14:52 +09:00
ParkJaesung 3dd3436d86 fix(docs): Fix broken pytest example code (#398) 2025-06-13 14:30:53 -05:00
Dreamwalker 189eebadef docs: update community Translations (#384)
- add korean docs link
- add japanese docs link

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-06-10 06:02:40 -05:00
Kaz Sato fdcc928be5 fix: add a Streaming blog post (#389)
add a Streaming blog post

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
2025-06-10 05:49:28 -05:00
Kaz Sato 290238b0bb fix: upgraded to 1.2.1, and added a troubleshooting tip (#392)
fix: upgraded to 1.2.1, and added a troubleshooting tip
2025-06-10 15:37:30 +09:00
Saloni Juneja 684a9ee5a5 docs: Update google-cloud-tools.md rendering (#390)
* Update google-cloud-tools.md rendering

* Update ApplicationIntegrationToolset
2025-06-09 11:49:30 -07:00
Lavi Nigam 33b60275d3 fix(tools): Correct async handling in LRO and HTIL sessions (#374)
The LRO (Long-Running Operation) and HTIL (Human-in-the-Loop) tools were failing to execute properly due to an unhandled promise.

The `session_service.create_session` method is asynchronous but was not being awaited, causing race conditions. This change adds the required `await` to ensure proper execution flow.

Additionally, the related documentation has been updated to reflect the corrected code.
2025-06-06 18:21:10 +09:00
Saloni Juneja e9a52a7b7a docs: Update Application Integration Toolset sample code for dynamic authentication (#373)
* Update Application Integration Toolset sample code for authentication override for connectors

* Update google-cloud-tools.md
2025-06-06 00:13:46 -07:00
Utkarsh Vijayvergia 3037fe8b4e docs: specify ADK version requirement for tutorial compatibility (#369)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-06-06 11:25:54 +05:30
Saloni Juneja bda42d0213 doc: Update Application Integration Toolset sample code (#370)
* Update Application Integration Toolset sample code

* Update google-cloud-tools.md
2025-06-05 09:52:25 -07:00
SANKET_D 9e071d4a63 fix(docs): correct import path for CallbackContext in context section (#358)
* Fix import path for CallbackContext in callback example

* Fix CallbackContext import path in llms-full.txt

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-06-02 22:25:58 +05:30
Rohit c4deb8e230 Add internal documentation link to "Output Key" section of LLM Agent docs (#357)
Updated the Markdown link to point directly to the relevant section (output_key) within the LLM Agent documentation, instead of linking to the top of the page.

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-06-02 22:22:58 +05:30
Kaarthik Andavar f27f9bda74 docs(get_fast_api_app): update agents_dir usage to match API (#360)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-06-02 22:21:20 +05:30
takashi kikuchi 3276f0609e Docs: Clarify state modification methods in sessions/state.md (#361)
I've added a new section to `docs/sessions/state.md` detailing the recommended method of updating session state. This method ensures changes are properly tracked.

I also refined the existing "A Warning About Direct State Modification" section to more precisely define which types of direct state modification are discouraged and to ensure it doesn't conflict with the newly added documentation for context-based state updates.

Examples for both Python and Java are provided for the new method. This addresses issue #267 by ensuring all recommended state modification paths are documented.

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-06-02 22:18:51 +05:30
Utkarsh Vijayvergia 005d3ca985 fix: remove .as_dict() usage from final session state logging (#345)
* fix: remove as_dict() usage from final session state logging

The code incorrectly called `.as_dict()` on a plain `dict` object, causing an AttributeError.

This commit removes the invalid `.as_dict()` call.

* fix: remove .as_dict() usage from final session state logging

The code incorrectly called `.as_dict()` on a plain `dict` object, causing an AttributeError.

This commit like the previous one removes another occurence of the `.as_dict()` call.

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-31 17:06:39 +05:30
Jorge Guberte d866131ff9 docs(streaming): correct duplicated typo of 'streaming' (#349)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-31 17:03:47 +05:30
Lavi Nigam 6e175eff43 [PR fixes]This PR is trying to fix multiple old PRs. Due to merge conflicts, we are doing all those small changes in this PR. Each changes are listed below: (#342)
- #254 docs/sessions/session.md -> …part of session object's identification.
In the session object identification description, it was unclear (for first time readers), what exactly is id, and app_name and how they are different. Added some examples according to my own understanding. Please change accordingly if you feel so. Thanks.

- #252 Multiple files: quickstart-streaming.md,  quickstart.md, mcp-tools.md
add an option in the CLI to enable or disable the reload feature. So users(esp. windows) can disable this if they come across the '_make_subprocess_transport NotImplementedError' bug on windows.

- #179 docs/agents/models.md -> Add Windows Encoding Note for LiteLLM
When using ADK agents with LiteLlm on Windows, users might encounter a UnicodeDecodeError: 'charmap' codec can't decode byte... error. This often happens when litellm (used by LiteLlm) tries to read cached files (like model pricing information) using the default Windows encoding (cp1252) instead of UTF-8.

- #170 docs/tools/mcp-tools.md  fix: update ADK setup link and add .env file location note in MCPTools.
Also resolved the issue: #169
2025-05-30 19:49:41 +05:30
Rohit b956c98d30 fix: remove incorrect reference to main.py in get-started streaming guide (#341)
Removed the incorrect instruction to copy code into a non-existent `main.py` file. Now it only mentions `__init__.py`, matching the ADK streaming guide and avoiding confusion during setup.

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 19:43:54 +05:30
Jaime 4f81494fd6 Update installation.md (#333)
fix pom dependencies symbol missing
2025-05-30 10:08:41 -04:00
Pritesh Gupta e813a1ff5a fix: Clarify self/cls exclusion in tool schema (#183)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 18:56:34 +05:30
Etsuji Nakai 6d076b7aa8 Update authentication.md (#189)
* Update authentication.md

Fix an example code that refers to undefined variables.

* Update authentication.md

use client_id and client_secret stored in auth_credential.

* Update authentication.md

Add missing imports

* Update authentication.md

Update for the latest auth lib.

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 18:50:05 +05:30
Dena Mwangi 3e23b8ae24 docs: Fix reference to tools_and_agent.py in authentication.md (#234)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 13:55:25 +05:30
triangle-z 9011fcf0a4 docs(cloud-run): Clarify multi-agent project structure for Cloud Run deployment (#245)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 13:52:56 +05:30
Lavi Nigam 9e6a08fd09 [fix] changed the import for InvocationContext (#340)
Its not available in google.adk.agents and moved to google.adk.agents.invocation_context
2025-05-30 17:16:49 +09:00
Yasiru 176cd38a7f fix: corrected types.Part.from_data with types.Part.from_bytes in docs/artifacts/index.md (#259)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 12:39:55 +05:30
Jeremy Meredith f3f6118fc9 fix: typo in built-in-tools.md (#286)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-05-30 12:04:58 +05:30
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
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
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