Conversation
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.
Agent pull request
Agent
Links
Out of scope — refuse
Open gate — do not open unless all are satisfied
Kind
Issue facts
Change
新增问答/数字/SVG 题库、渠道指定题目与答题模型、全部/随机选题和历史结果。SVG 安全渲染后交给单独配置的判图渠道和模型,支持上传参考图。
测试在后台并行运行,进度实时计时;渠道操作中可一键启动,结果独立成列。设置中管理题库,一个开关控制按钮和结果列,渠道编辑中配置专属模型和题目。
本 PR 含 AI 辅助代码。从
8e3c7d5独立拆出,不依赖 #40。Research
Duplicate / prior art
Docs and code
core/internal/servicetest/tester.go、apps/desktop/src/ServiceTestDialog.tsx:复用显式渠道测试通路,保持普通连接测试的小响应预算。Alternatives considered
Files
apps/desktop/src/Intelligence*.tsx、intelligence-*.tsServiceManager.tsx、SettingsCenter.tsx、App.tsxapps/desktop/src-tauri/src/、contracts/control-api.openapi.yamlcore/internal/intelligence/、controlapi/intelligence.gocore/internal/servicetest/、storage/Behavior
Verification
bun run build:TypeScript 检查与生产构建成功。bun run test src/SettingsCenter.test.tsx src/IntelligenceWorkspace.test.tsx src/ServiceManager.test.tsx src/App.test.tsx src/App.navigation.test.tsx src/lib/question-image.test.ts:109 项通过,包括后台渲染、持续计时、缺模型提示、参考图保存及切换标签保留草稿。go test ./contract ./internal/intelligence ./internal/servicetest ./internal/controlapi ./internal/storage/sqlite:五个包通过;覆盖并行启动、渲染结果对应、取消排队任务、判分与持久化、长推理响应及保留普通连接测试限制。go vet ./...、contractsgo test ./...:通过。cargo clippy --locked --all-targets -- -D warnings、cargo fmt --all -- --check:通过。git diff --check:通过。提交后 subagent 复审未发现新增 P1/P2 或费用功能依赖。Risks
max_tokens=16384。超时与响应体大小限制仍存在。Scope check