Repository navigation
Conversation
…us_response_id LRU)
Owner
Author
|
误开:本意是向上游 dengyie/zcode2api 提交 PR,此处(fork 自身)不需要。内容已改提上游。 |
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.
改动
app/responses_compat.py:responses_to_anthropic/anthropic_to_responses/ResponsesStreamConverterevent:+data:帧、sequence_number 递增、无 [DONE] 哨兵、response.completed收尾)app/response_store.py:previous_response_id 内存 LRU(256 条、线程锁、重启清零);首轮 input 同样入库,保证第二轮续接不丢首轮 user 内容POST /v1/responses镜像 chat/completions:鉴权/provider/归一化/reqlog(kind=responses)/调度容灾全套复用,_dispatch与_try_account零改动测试
依赖
基于 PR 1(fix/admin-settings-protocol),请先合 PR 1。