Skip to content

Fix memories namespace for Responses API tools#24898

Merged
jif-oai merged 3 commits into
mainfrom
jif/fix-memories-namespace
May 28, 2026
Merged

Fix memories namespace for Responses API tools#24898
jif-oai merged 3 commits into
mainfrom
jif/fix-memories-namespace

Conversation

@jif-oai
Copy link
Copy Markdown
Collaborator

@jif-oai jif-oai commented May 28, 2026

Why

Dedicated memories tools are exposed through a Responses API namespace tool. The namespace itself has to be a valid tool identifier, so memories/ can fail validation before the model ever gets a chance to call the memory tools.

What changed

  • Changed MEMORY_TOOLS_NAMESPACE from memories/ to memories.
  • Added memory_tool_namespace_matches_responses_api_identifier so the namespace stays non-empty and limited to Responses-safe identifier characters.

Verification

  • Added unit coverage for the namespace identifier shape in codex-rs/ext/memories/src/tests.rs.

@jif-oai jif-oai changed the title fix: memories namespace Fix memories namespace for Responses API tools May 28, 2026
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5358fc4bc7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/ext/memories/src/lib.rs
@jif-oai
Copy link
Copy Markdown
Collaborator Author

jif-oai commented May 28, 2026

@codex review

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adf839418f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/ext/memories/src/lib.rs
Comment thread codex-rs/ext/memories/src/lib.rs
@jif-oai jif-oai merged commit ba6678c into main May 28, 2026
31 checks passed
@jif-oai jif-oai deleted the jif/fix-memories-namespace branch May 28, 2026 12:06
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
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.

1 participant