Skip to content

Update ADK doc according to issue #1350 - 1#1353

Closed
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260227-002840
Closed

Update ADK doc according to issue #1350 - 1#1353
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260227-002840

Conversation

@adk-bot

@adk-bot adk-bot commented Feb 27, 2026

Copy link
Copy Markdown
Collaborator
### 1. **Update Context documentation to reflect the new unified Context class**

Doc file: docs/context/index.md

Current state:

Describes InvocationContext, ReadonlyContext, CallbackContext, and ToolContext as distinct classes.

Proposed Change:

Update to introduce the new unified Context class. Explain that CallbackContext is now an alias for Context. Update examples to use Context features like add_memory directly.

Reasoning:
The CallbackContext class has been refactored to be an alias for the new unified Context class, which provides a superset of features (artifacts, credentials, memory, state).

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

@netlify

netlify Bot commented Feb 27, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 43338be
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/69a0e53c020f3b00081d0012
😎 Deploy Preview https://deploy-preview-1353--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.

@zyantw zyantw self-assigned this Jun 18, 2026
@zyantw

zyantw commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

closed with: #1844

@zyantw zyantw closed this Jun 22, 2026
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.

3 participants