You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: [Team][Action] Improve prepare_options documentation and examples #10021
Team-owned — not open for community pickup yet. Do not start implementation or submit a PR without explicit maintainer agreement.
Category
Documentation
Problem
Explain the per-request purpose of prepare_options, callback input/output, precedence, and protected fields. Include an example that strips a caller-selected model while preserving developer defaults. Incorporate the prepare-options investigation under the parent.
Evidence
Parent: #10009. Edited checklist; meeting 40:36–43:57; local _responses.py annotation.
Desired Outcome
Action. Update host docstrings, package guidance, and directly related examples based on verified behavior. Distinguish per-run options from agent-construction defaults, sync/async hooks, protocol-specific supported paths, validation after the hook, and host-controlled fields that cannot be reintroduced.
Language
Python
Acknowledgements
I searched existing issues and did not find a duplicate.
I will wait for explicit maintainer agreement before starting implementation of a non-trivial change.
changed the title [-][Team][Action] Improve prepare_options documentation and examples[/-][+]Python: [Team][Action] Improve prepare_options documentation and examples[/+]on Nov 3, 2026
Activity
[-][Team][Action] Improve prepare_options documentation and examples[/-][+]Python: [Team][Action] Improve prepare_options documentation and examples[/+]