Skip to content

Clarify model-generated and legacy app path types#28577

Merged
anp-oai merged 2 commits into
mainfrom
model-text-path-types
Jun 16, 2026
Merged

Clarify model-generated and legacy app path types#28577
anp-oai merged 2 commits into
mainfrom
model-text-path-types

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Why

ApiPathString kind of implies that it can be used anywhere we pull a path out of JSON, but it's not really appropriate for tool arguments when the model might generate relative paths.

Prefer String for model-generated paths and we can handle the conversion per feature for now and define a shared abstraction later if it makes sense.

What

Rename ApiPathString to AppLegacyPathString to clarify its role.

Expand the path-types skill to tell the model to leave tool args as bare strings.

@anp-oai
anp-oai marked this pull request as ready for review June 16, 2026 19:24
@anp-oai
anp-oai requested a review from a team as a code owner June 16, 2026 20:35
@anp-oai anp-oai changed the title Ask model to use String for tool call paths. Clarify model-generated and legacy app path types Jun 16, 2026
@anp-oai

anp-oai commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown
Contributor

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: fc0297249b

ℹ️ 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/app-server-protocol/schema/typescript/index.ts
@anp-oai
anp-oai enabled auto-merge (squash) June 16, 2026 20:45
@anp-oai
anp-oai merged commit 322b83d into main Jun 16, 2026
62 checks passed
@anp-oai
anp-oai deleted the model-text-path-types branch June 16, 2026 20:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 16, 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.

2 participants