Repository navigation
fix(ai): 接通 DeepSeek Flash 联网搜索与非思考工具兼容 - #207
Merged
AlphaCatMeow merged 2 commits intoNov 15, 2026
Merged
Conversation
This was referenced Nov 14, 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.
问题与改动
DeepSeek Flash 已支持联网,但 Chat Completions 路径仍拒绝联网请求。接入
deepseek_web_search/deepseek_read_url,解析搜索进度与来源引用,并保留按 API、endpoint、model 隔离的历史回放。关闭或未指定思考、且存在本地工具时,使用官方独立 Search/Fetch API;开启思考时使用服务端网页工具。不会为了搜索擅自开启思考,也不会把供应商密钥发送到不同主机。
验证
go test ./internal/ai ./internal/backend ./internal/agent通过。git diff --check通过。限制与交付
deepseek-flash开放,不将其他旧型号一并放行。官方依据:网页工具、Search 与 Fetch。
Depends-On: none
Stack-Root: #207
LiveAgent: Stack-Cairn/LiveAgent#1297
合并最新上游后的最终验证