Skip to content

SUB-2193: Add function docs mode to Python clients and agents - #6

Merged
somdoron merged 1 commit into
mainfrom
codex/sub-2193-function-docs
Nov 17, 2026
Merged

somdoron merged 1 commit into
mainfrom
codex/sub-2193-function-docs

Conversation

@somdoron

@somdoron somdoron commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

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

@snlamm snlamm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
somdoron force-pushed the codex/sub-2193-function-docs branch from a750a46 to 6d74b7e Compare November 17, 2026 18:32
@somdoron
somdoron merged commit 7a3efe2 into main Nov 17, 2026
21 of 42 checks passed
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.

2 participants