Skip to content

Fea copilotapi cc copilot#258

Open
wujb0923 wants to merge 2 commits into
ericc-ch:masterfrom
wujb0923:fea-copilotapi-cc-copilot
Open

Fea copilotapi cc copilot#258
wujb0923 wants to merge 2 commits into
ericc-ch:masterfrom
wujb0923:fea-copilotapi-cc-copilot

Conversation

@wujb0923
Copy link
Copy Markdown

The Copilot-API acts as a proxy for Claude Code. When the Copilot OpenAI GPT-5.4 model is selected, an error 400 occurs. The cause of the error lies in the "max_tokens" parameter, which needs to be converted to "max_completion_tokens". Therefore, this update is compatible with requests involving this parameter and is also compatible with OpenAI models.

wujb7 added 2 commits May 24, 2026 21:21
…nAI GPT-5.4 model is selected, an error 400 occurs. The cause of the error lies in the "max_tokens" parameter, which needs to be converted to "max_completion_tokens". Therefore, this update is compatible with requests involving this parameter and is also compatible with OpenAI models.
…nAI GPT-5.4 model is selected, an error 400 occurs. The cause of the error lies in the max_tokens parameter, which needs to be converted to max_completion_tokens. Therefore, this update is compatible with requests involving this parameter and is also compatible with OpenAI models.
@wujb0923
Copy link
Copy Markdown
Author

The Copilot-API acts as a proxy for Claude Code. When the Copilot OpenAI GPT-5.4 model is selected, an error 400 occurs. The cause of the error lies in the "max_tokens" parameter, which needs to be converted to "max_completion_tokens". Therefore, this update is compatible with requests involving this parameter and is also compatible with OpenAI models.

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.

1 participant