Skip to content

docs: add ToolResult retrieval section to async iterators streaming#789

Open
knagapriya wants to merge 1 commit intostrands-agents:mainfrom
knagapriya:add-toolresult-streaming-docs-v2
Open

docs: add ToolResult retrieval section to async iterators streaming#789
knagapriya wants to merge 1 commit intostrands-agents:mainfrom
knagapriya:add-toolresult-streaming-docs-v2

Conversation

@knagapriya
Copy link
Copy Markdown

Add documentation for accessing tool results during async streaming, with examples for both Python and TypeScript:

  • Python: accessing ToolResult from the result event, error handling
  • TypeScript: using afterToolCallEvent to track tool completion

This replaces the previous PR that had conflicts due to the MkDocs to Astro/Starlight migration.

Description

Related Issues

Type of Change

  • New content
  • Content update/revision
  • Structure/organization improvement
  • Typo/formatting fix
  • Bug fix
  • Other (please describe):

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using npm run dev
  • Links in the documentation are valid and working

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add documentation for accessing tool results during async streaming,
with examples for both Python and TypeScript:

- Python: accessing ToolResult from the result event, error handling
- TypeScript: using afterToolCallEvent to track tool completion

This replaces the previous PR that had conflicts due to the MkDocs
to Astro/Starlight migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant