fix: light mode contrast, context limit default, log rotation, plan mode Q&A + sidebar clock#296
Open
WqyJh wants to merge 1 commit into
Open
fix: light mode contrast, context limit default, log rotation, plan mode Q&A + sidebar clock#296WqyJh wants to merge 1 commit into
WqyJh wants to merge 1 commit into
Conversation
Bug fixes: - XiaomiMiMo#518: Fix light mode placeholder contrast (text-weak #8f8f8f -> #555555) - XiaomiMiMo#534: Reduce default context window from 1M to 128K for unconfigured local models + show 'Not configured' in tooltip - XiaomiMiMo#558: Add log file rotation (100MB max per file, 3 rotated parts) - XiaomiMiMo#531: Skip plan mode system-reminder for simple Q&A (short messages without edit verbs/code/paths) New feature: - XiaomiMiMo#545: Show current time in sidebar bottom-right corner (updates every 30s)
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.
Summary
Fixes 4 open bugs and adds 1 new feature from community issues.
🐛 Bug Fixes
XiaomiMiMo#518 — Light mode placeholder text invisible
--text-weakin light theme from#8f8f8fto#555555#f8f8f8background — essentially invisibleXiaomiMiMo#534 — Local models show incorrect 1M context limit
DEFAULT_CONTEXT_WINDOWfrom1_000_000to128_000(reasonable default)model.tooltip.context.unknown(EN: "Not configured", ZH: "未配置")XiaomiMiMo#558 — Log files grow to 50GB+ with no rotation
XiaomiMiMo#531 — Plan mode creates plan files for simple Q&A
✨ New Feature
XiaomiMiMo#545 — Show current time in sidebar
text-text-weakerstyling for minimal visual footprintFiles Changed
packages/ui/src/styles/theme.css--text-weakcolor fixpackages/opencode/src/provider/provider.tspackages/app/src/components/model-tooltip.tsxpackages/app/src/i18n/en.tsmodel.tooltip.context.unknownpackages/app/src/i18n/zh.tsmodel.tooltip.context.unknown(中文)packages/opencode/src/util/log.tspackages/opencode/src/session/prompt.tspackages/app/src/pages/layout/sidebar-shell.tsxCloses XiaomiMiMo#518, Closes XiaomiMiMo#534, Closes XiaomiMiMo#558, Closes XiaomiMiMo#531, Closes XiaomiMiMo#545
Mirrored from XiaomiMiMo/MiMo-Code#562 — original author @MrRealORG.