Repository navigation
SUB-2193: Add function docs mode to Python clients and agents - #6
Merged
Merged
Conversation
snlamm
approved these changes
Nov 17, 2026
snlamm
left a comment
Collaborator
There was a problem hiding this comment.
Looks good. The opt-in keeps defaults unchanged, and the requests match the server's endpoints in 0.6.2 (index view, names[] batches, functions, prompt?function_docs=true). The branch conflicts with main now, so it needs a rebase before merging; since 0.6.2 ships #378, the CI job could pin the release instead of the PR's commit.
Co-Authored-By: OpenAI Codex <noreply@openai.com>
somdoron
force-pushed
the
codex/sub-2193-function-docs
branch
from
November 17, 2026 18:32
a750a46 to
6d74b7e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agents currently receive full package declarations even when they use only a few functions. Add opt-in function documentation mode to the sync/async SDK, LangChain/Deep Agents middleware, and OpenAI Agents toolkit, with indexes and cross-package function/type requests.
Defaults remain unchanged. Enabling the mode requires the server endpoints in runtime PR #378. A dedicated CI job pins that runtime for the new integration test while existing tests retain their released-server coverage.
Validation: focused SDK and agent tests, real-server Deep Agents discovery/execution, lint, type checks, and generated-client parity. Full suites run in CI; benchmarks are excluded.
SUB-2193