feat(openai): add OpenAI CLI tool synced with openapi/openai.json#21
Draft
feat(openai): add OpenAI CLI tool synced with openapi/openai.json#21
Conversation
Agent-Logs-Url: https://github.com/AceDataCloud/Clis/sessions/aa1ffb9b-0941-4c61-97b1-3eb534323acd Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
…lert Agent-Logs-Url: https://github.com/AceDataCloud/Clis/sessions/aa1ffb9b-0941-4c61-97b1-3eb534323acd Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Sync openai CLI tools with updated Docs
feat(openai): add OpenAI CLI tool synced with openapi/openai.json
Apr 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Docs repo
openapi/openai.jsondefines 5 endpoints for anopenaiservice, but no correspondingopenai/CLI subdirectory existed in this monorepo.New
openai/CLI packageStructure follows existing CLI conventions (
serp,nanobanana, etc.):commands/chat.py—chat(single message) andcomplete(JSON messages array) →POST /openai/chat/completionscommands/embed.py—embed→POST /openai/embeddingscommands/image.py—imagineandedit-image→POST /openai/images/generations/POST /openai/images/editscommands/respond.py—respond→POST /openai/responsescommands/info.py—models,configcore/—client,config,exceptions,outputmatching the standard patternModel coverage (from spec)
gpt-5.5,gpt-5.5-pro,gpt-5.4,gpt-5.4-pro,gpt-5.2,gpt-5.1*,gpt-5,gpt-5-mini,gpt-5-nano,gpt-4*,gpt-4o*,o1*,o3*,o4-mini*text-embedding-3-small,text-embedding-3-large,text-embedding-ada-002dall-e-3,gpt-image-1,gpt-image-1.5,gpt-image-2,nano-banana*