Bug Description
When selecting a model (MiMo V2 Omni Free) and launching it, a TypeError occurs:
TypeError: Cannot read properties of undefined (reading 'models')
at startOpenCode (file:///home/kenpeter/.nvm/versions/node/v22.22.0/lib/node_modules/free-coding-models/src/opencode.js:473:39)
at launchSelectedModel (file:///home/kenpeter/.nvm/versions/node/v22.22.0/lib/node_modules/free-coding-models/src/key-handler.js:359:24)
Steps to Reproduce
- Run
free-coding-models
- Select: MiMo V2 Omni Free
- Press Enter to launch
Expected Behavior
Model should launch successfully.
Actual Behavior
TUI Error: An error occurred while handling a keypress.
Environment
- OS: Ubuntu
- Node: v22.22.0
- Package version: (latest)
Traceback
[TUI Error] An error occurred while handling a keypress.
TypeError: Cannot read properties of undefined (reading 'models')
at startOpenCode (file:///home/kenpeter/.nvm/versions/node/v22.22.0/lib/node_modules/free-coding-models/src/opencode.js:473:39)
at launchSelectedModel (file:///home/kenpeter/.nvm/versions/node/v22.22.0/lib/node_modules/free-coding-models/src/key-handler.js:359:24)
at file:///home/kenpeter/.nvm/versions/node/v22.22.0/lib/node_modules/free-coding-models/src/key-handler.js:2303:13)
at ReadStream.<anonymous> (file:///home/kenpeter/.nvm/versions/node/v22.22.0/lib/node_modules/free-coding-models/src/app.js:937:13)
at ReadStream.emit (node:events:519:28)
at emitKeys (node:internal/readline/utils:370:14)
at emitKeys.next (<anonymous>)
at ReadStream.onData (node:internal/readline/emitKeypressEvents:64:36)
at ReadStream.emit (node:events:531:35)
at addChunk (node:internal/streams/readable:561:12)
Bug Description
When selecting a model (MiMo V2 Omni Free) and launching it, a TypeError occurs:
Steps to Reproduce
free-coding-modelsExpected Behavior
Model should launch successfully.
Actual Behavior
TUI Error: An error occurred while handling a keypress.
Environment
Traceback