fix known issues in issue list (model name error, chat-completions and doc)#212
Open
hitdavid wants to merge 14 commits intoericc-ch:masterfrom
Open
fix known issues in issue list (model name error, chat-completions and doc)#212hitdavid wants to merge 14 commits intoericc-ch:masterfrom
hitdavid wants to merge 14 commits intoericc-ch:masterfrom
Conversation
- translateModelName: strip [1m]/bracket suffixes, 8-digit date stamps, and convert hyphen minor versions to dot notation (e.g. claude-haiku-4-5 → claude-haiku-4.5) to match Copilot's expected model ID format - HTTPError: carry pre-read response body to avoid "Body already read" crash - forwardError: use stored body instead of re-reading response; remove async - get-models: pre-read body before throwing HTTPError - route.ts: remove unnecessary optional chain on non-nullable supports/limits Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Set file permissions to 0o600 for admin.json and accounts.json to restrict access to sensitive credential and token data - Remove githubToken from all account API responses to prevent token exposure to browser/frontend - Fix Bearer token parsing to be case-insensitive (use regex instead of string replace) - Auto-cleanup expired device flow sessions from memory after 60s - Remove .idea/ IDE files from git tracking and add to .gitignore Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
@hitdavid The responses API needs to return the thought signature in the request body; otherwise, it will affect model usage and degrade performance. The chat-completions open compatibility interface cannot transmit the thought signature, so it is not recommended to adapt the responses API to chat-completions. you can use this https://github.com/caozhiyuan/copilot-api . This support uses the message API for GPT and the native Claude message API for the Claude model. |
Added important commands for Claude code setup.
Contributor
|
@hitdavid Similar to this , look here #205 (comment) |
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.
No description provided.