Skip to content

Conversation

@Wania-Kazmi
Copy link

Description

This Pull Request corrects a minor syntax error found in the documentation for the "Context management" section.

Changes Made

  • Fixed the example syntax used to demonstrate passing the local context object to Runner.run. The incorrect example Runner.run(..., **context=whatever**) has been updated to correctly show Runner.run(..., context=your_context_object).

Motivation

This correction provides an accurate code example in the documentation, preventing potential confusion for users and reflecting the correct way to use the context parameter.

…rrect Output guardrail first step.

Enhanced the documentation for input and output guardrails by specifying that input guardrails apply only to the first agent in a sequence, while output guardrails apply only to the last agent. This clarification improves understanding of how guardrails function in agent chains.
Updated the documentation in context.md to enhance clarity by modifying the example of passing context to the run methods. The change specifies the syntax more clearly, improving understanding for users.
@github-actions
Copy link
Contributor

This PR is stale because it has been open for 10 days with no activity.

@github-actions github-actions bot added the stale label May 26, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

This PR was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant