fix: multiple critical issues - Windows process, logs, context limits#299
Open
WqyJh wants to merge 1 commit into
Open
fix: multiple critical issues - Windows process, logs, context limits#299WqyJh wants to merge 1 commit into
WqyJh wants to merge 1 commit into
Conversation
…, context limits - Fix XiaomiMiMo#544: Always detach background processes on Windows to prevent UI blank - Fix XiaomiMiMo#530: Reduce log retention from 10 to 3 files to prevent disk exhaustion - Fix XiaomiMiMo#534: Add default context window for local models (128k tokens) - Fix XiaomiMiMo#538: Improve Windows release build configuration All changes are minimal, focused fixes that address root causes without breaking existing functionality.
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
This PR fixes 4 critical issues affecting MiMo-Code users, especially on Windows:
Fixes:
Changes
1. Windows Process Detach (XiaomiMiMo#544)
File:
packages/opencode/src/effect/cross-spawn-spawner.ts2. Log Retention (XiaomiMiMo#530)
File:
packages/opencode/src/util/log.ts3. Context Limits for Local Models (XiaomiMiMo#534)
File:
packages/opencode/src/components/session/session-context-metrics.ts4. Windows Build Improvements (XiaomiMiMo#538)
Testing
How to Test
Impact: High priority fixes for Windows users and general stability
Mirrored from XiaomiMiMo/MiMo-Code#557 — original author @MrRealORG.