Skip to content

Update ADK doc according to issue #1438 - 16#1447

Open
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260316-014704
Open

Update ADK doc according to issue #1438 - 16#1447
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260316-014704

Conversation

@adk-bot
Copy link
Copy Markdown
Collaborator

@adk-bot adk-bot commented Mar 16, 2026

16. Document render_ui_widget method in Context documentation

Doc file: docs/context/index.md

Current state:

  • State for Data Flow: context.state is the primary way to share data...
  • Artifacts for Files: Use context.save_artifact and context.load_artifact...
  • Tracked Changes: Modifications to state or artifacts...

Proposed Change:

  • State for Data Flow: context.state is the primary way to share data...
  • Artifacts for Files: Use context.save_artifact and context.load_artifact...
  • UI Rendering: Use context.render_ui_widget(widget) to send rich UI components (like MCP App iframes) to the client.
  • Tracked Changes: Modifications to state or artifacts...

Reasoning:
The render_ui_widget method was added to the Context class. Documenting it in the "Common Tasks" or "Key Takeaways" section of the Context docs ensures developers know how to use this new feature.

Reference: src/google/adk/agents/context.py

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 16, 2026

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit eafdafe
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/69b7611d98e2ab00087a854e
😎 Deploy Preview https://deploy-preview-1447--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants