Skip to content

Fixing OpenClaw ChatGPT subscriptions (codex) routing#884

Open
Stoff81 wants to merge 2 commits intokatanemo:musa/chatgpt-subscriptionfrom
Stoff81:musa/chatgpt-subscription
Open

Fixing OpenClaw ChatGPT subscriptions (codex) routing#884
Stoff81 wants to merge 2 commits intokatanemo:musa/chatgpt-subscriptionfrom
Stoff81:musa/chatgpt-subscription

Conversation

@Stoff81
Copy link
Copy Markdown

@Stoff81 Stoff81 commented Apr 14, 2026

OpenClaw ChatGPT Subscription (codex) uses v1/responses endpoints. There are a few key differences in the API usage between OC and Plano:

Fixes:

  1. Alternate tool naming conventions
  2. Unsupported max_output_tokens on https://chatgpt.com/backend-api/codex, mapped to maxTokens
  3. Unsupported text_input field, now using raw text

@Stoff81 Stoff81 force-pushed the musa/chatgpt-subscription branch from 2b299b5 to 164fd46 Compare April 15, 2026 08:43
@Spherrrical
Copy link
Copy Markdown
Collaborator

Hey @Stoff81 , apologizes for the wait - waiting on a few things on my PR and then we'll evaluate yours. It looks very useful!! If you ran into any other issues please do not hesitate to open issues or contribute :)

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