Skip to content

Canonicalize default tools under the functions namespace - #37022

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d48414005b5d22d39b11a198e19c47814d3a19f2
Aug 5, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d48414005b5d22d39b11a198e19c47814d3a19f2

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

Canonicalize default tools under the functions namespace

What changed

  • Group top-level function and custom tool definitions into a single functions namespace for Responses Lite providers that support namespaced tools.
  • Normalize missing, empty, and explicit functions namespaces to the same tool identity across registration, routing, lifecycle hooks, configuration, and tool search.
  • Keep default tool names unprefixed in code mode, display output, and dispatch traces while preserving explicit non-default namespaces.

Testing

  • Add coverage for Responses Lite serialization, tool search results, namespace normalization and collision handling, routing, lifecycle events, and code-mode namespace policies.

## What changed

- Group top-level function and custom tool definitions into a single `functions` namespace for Responses Lite providers that support namespaced tools.
- Normalize missing, empty, and explicit `functions` namespaces to the same tool identity across registration, routing, lifecycle hooks, configuration, and tool search.
- Keep default tool names unprefixed in code mode, display output, and dispatch traces while preserving explicit non-default namespaces.

## Testing

- Add coverage for Responses Lite serialization, tool search results, namespace normalization and collision handling, routing, lifecycle events, and code-mode namespace policies.

GitOrigin-RevId: d48414005b5d22d39b11a198e19c47814d3a19f2
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d48414005b5d22d39b11a198e19c47814d3a19f2 branch from a0215ef to f21dc46 Compare August 5, 2026 04:09
@copyberry
copyberry Bot merged commit f21dc46 into main Aug 5, 2026
25 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d48414005b5d22d39b11a198e19c47814d3a19f2 branch August 5, 2026 04:10
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2026
@relh
relh temporarily deployed to issue-triage August 5, 2026 04:26 — with GitHub Actions Inactive
@relh
relh temporarily deployed to issue-triage August 5, 2026 04:26 — with GitHub Actions Inactive
@relh
relh temporarily deployed to issue-triage August 5, 2026 04:26 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
issue-triage — f21dc463 Deployed Aug 5, 2026 by cilerler via Generate label suggestions #36147
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants