release v0.9.8: release: v0.9.8 — UI优化 + 分享门禁 + llm窗口回退修复 - #301
Merged
Conversation
- UserAccountMenu: 头像浮窗显示可用积分(creditBalance,配额+赠送+购买-已用) - index.css: 全局滚动条统一变窄为5px细样式(scrollbar-hide除外) - Work: 任务页左上角增加侧边栏开关按钮(复用l1Collapsed状态) - Team/CommentInput: 输入框打字时显示Shift+Enter换行提示,Enter发送 - 删除无人引用的废弃组件ChatInput.tsx - 中英文locale补齐文案(creditBalance/shiftEnterHint/task.expand)
- lib: 新增 DELIVERABLE_SHARE_FORMATS / effectiveShareFormat / canShareDeliverableFormat, 与服务端 DELIVERABLE_SHARE_FORMATS(markdown/html) 同源 - DeliverableShareModal.doPublish: 提交前最后防线,非白名单格式拒绝提交 - RightPanel.canShare: 分享入口门控(右侧栏) - Deliverables.tsx: 产出物页分享按钮门控 - test: 新增白名单门禁 5 例(缺省兜底/放行/拒绝非文本/拒绝大写) - typecheck ✓, vitest 22 passed ✓
… and read real window from OpenAI-compatible gateway models Root cause of 0.9.7-rc0 -> final context regression (commit 8de32e0): missing catalog context_window/max_output stopped aborting and started silently falling back to 128K/32K, under-sizing 1M-window flagship models ~8x. Context-engine then over-compresses/trims history -> model loses context -> repeated re-read / loop (e.g. 8/20: 55-turn, 428-call). - DEFAULT_CONTEXT_WINDOW_FALLBACK: 128K -> 1M - DEFAULT_MAX_OUTPUT_FALLBACK: 32K -> 131_072 - refreshProviderLiveModels: probe real context_window/context_length/max_model_len/max_context_length from /v1/models (plus max_output_tokens/max_tokens) instead of hardcoding 0 that forced the fallback path
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.
Version bump v0.9.7 → v0.9.8