Repository navigation
集成侧栏、侧边聊天、定时任务和模型配置改进 - #128
Merged
Merged
Conversation
Saved models can carry an optional sampling object (temperature, top_p, top_k, min_p). Unset keys are never sent, so profiles without sampling keep byte-identical requests. Chat Completions sends all four (top_k and min_p are vLLM/SGLang extensions), Responses only temperature and top_p, Anthropic rejects min_p and caps temperature at 1, and managed Copilot/Grok reject sampling. A value that would be silently dropped is a validation error. Settings > Models > Advanced shows only the fields the selected provider and protocol support. Sampling is part of the provider construction fingerprint, so running sessions pick up an edit on their next turn. Motivated by the intranet wizard-ai gateway: its GLM model publishes recommended values (top_p 0.95, top_k 20, temperature 1, min_p 0) that the gateway's own agent sends and ACECode never did.
The obfuscated model pool status URL decoded to wizard-ai.paic.com without the .cn suffix the model gateway uses. Intranet DNS cannot resolve it, so the daemon logged "Could not resolve host" every 30 seconds and pool load and effective context windows were never available. Add a regression test that the default URL shares the gateway origin and status path.
Feedback that includes a session now also packs that session's trajectory.jsonl (every model request's full messages and tool list, plus each response) as session/<id>.trajectory.jsonl. The session JSONL alone does not show the system prompt or tool definitions, so comparing ACECode's requests with another client's was guesswork. The newest 4 MiB is kept, starting at the first complete line after the cut; a single oversized record keeps its partial tail. A missing file is skipped without failing the upload, and feedback.json records the source path, original size, packed bytes and truncation under "trajectory". Desktop and terminal /feedback both attach it, and the feedback form now says the raw model requests are included when a session is selected.
Merged
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.
新增侧边聊天存续时间设置,默认 30 分钟,切回会话时恢复期限内的记录和草稿;定时会话 hover 时只显示置顶和归档两个图标,闹钟与归档共用位置。
同步纳入定时任务分组、消息内容搜索、问题回答摘要、定时任务技能发现与递归创建修复,以及已有的模型采样参数、模型池域名识别和反馈轨迹附件三个提交。seed 升至 2026-10-15.1。采样请求和技能提示拆分保留行为并通过 R12 行数检查。
验证:Windows 本机相关 354 项单测全部通过;pnpm test、pnpm build、七项分层/所有权/路径检查通过;add-floating-side-chat OpenSpec 严格检查通过。图标修复已有 Chromium 153/110 浏览器验证。
OpenSpec:openspec/changes/add-floating-side-chat。此 PR 是 v1.0.6 集成的第一步,随后纳入已完成 worktree 并做完整发布验收。