Skip to content

feat: Add support for responses api body#2

Merged
rekram1-node merged 3 commits intoanomalyco:mainfrom
OpeOginni:feat/update-agent-check-for-responses-api-body
Nov 21, 2025
Merged

feat: Add support for responses api body#2
rekram1-node merged 3 commits intoanomalyco:mainfrom
OpeOginni:feat/update-agent-check-for-responses-api-body

Conversation

@OpeOginni
Copy link
Copy Markdown
Contributor

@OpeOginni OpeOginni commented Oct 9, 2025

Ideal fix for custom github copilot api using openai responses and preventing multiple use of Premium Request.

https://platform.openai.com/docs/api-reference/responses/create#responses-create-input

Solution proposed anomalyco/opencode#2758 (comment)

@wienans
Copy link
Copy Markdown

wienans commented Oct 9, 2025

Is it wise to explicitly define the tool call names? Or are these specifically defined by the responses api and not by the client?

@OpeOginni
Copy link
Copy Markdown
Contributor Author

Is it wise to explicitly define the tool call names? Or are these specifically defined by the responses api and not by the client?

These tools are defined by the api, and are somewhat built in. You could check the docs I linked.

@caozhiyuan
Copy link
Copy Markdown

@OpeOginni miss type = "reasoning" ?

@OpeOginni
Copy link
Copy Markdown
Contributor Author

OpeOginni commented Oct 10, 2025

…INPUT_TYPES and added the "reasoning" type to the check
@OpeOginni
Copy link
Copy Markdown
Contributor Author

OpeOginni commented Nov 10, 2025

@rekram1-node sorry to tag, but no love for the PR? 😢

would make it easier to let people use my package for Codex 5 with Github, prevents multiple billed requests on just one prompt.

@rekram1-node rekram1-node merged commit b7c6849 into anomalyco:main Nov 21, 2025
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.

4 participants