fix(proxy), feat(panel): Added support for use with the CodeBuddy CLI, fixed compatibility issues with DeepSeek/CodeBuddy's "thinking" process, and added support for deleting chat history - #958
Open
Jeffrey1799 wants to merge 4 commits into
Conversation
…add OpenAI thinking passthrough
Split PR TencentCloud#946 into four independently testable/rollbackable modules: - 946-B CodeBuddy protocol adapter: stable question ids + typed ParsedFormResult, parsing no longer relies on option ordering - 946-A Reasoning protocol adapter: canonical representation + capability-driven; only DeepSeek reasoning backfills reasoning_content, Anthropic downgrades adaptive→enabled for non-adaptive upstreams; removed hardcoded injection from generic handlers - 946-C Chat memory deletion V2 (panel layer): owner-only delete; L0 cursor deep-scan replaces limit=100; per-item results; L2 removed=false no longer reports success; panel-level idempotency + audit - 946-D Deployment cleanup: hotpatch scripts guarded by ALLOW_UNSUPPORTED_HOTPATCH, refused in production, records changed file hashes Verification: MemoryProxy vitest 42 passed, MemoryPanel vitest 5 passed, tsc clean.
Jeffrey1799
force-pushed
the
feat/server_team
branch
from
August 12, 2026 07:00
a9f4868 to
8934d3b
Compare
Collaborator
|
Thank you for your attention and contribution! We will schedule an internal review of this PR, and we will share any feedback right here. |
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.
Description | 描述
Production-grade compatibility and deployment improvements for the proxy and panel:
reasoning_content/ thinking round-tripreasoner/r1*/v4*incl.deepseek-v4-flash/think*) requirereasoning_content(may be empty) on tool-call history messages → backfilled before forwarding (OpenAI protocol)thinking.typeadaptive→enableddowngrade for non-adaptive upstreams + tool_use thinking-block backfillAskUserQuestionform (Team → Agent → Task session init), JSON/XML dual-format extractionDockerfile.proxy-fork+build-proxy-fork.sh+ensure_proxy_image():start-all.shauto-builds/reuses a fork image with fixes baked in, no hot-patch scripts neededRelated Issue | 关联 Issue
N/A
Change Type | 修改类型
Self-test Checklist | 自测清单
vitest run src/reasoning— 28 tests pass (incl. v4-flash backfill cases)reasoning_content) → HTTP 200./start-all.shone-shot boots memory-core + memory-hub + proxy; fork image auto-built/reusedAdditional Notes | 其他说明
REASONING provider=deepseek backfilledafter the fix.