windows server 2025 add minimax api key somthing wrong...... #7083

Open
opened 2026-02-16 18:06:08 -05:00 by yindo · 2 comments
Owner

Originally created by @purezhang on GitHub (Jan 21, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

https://github.com/anomalyco/opencode/issues/new?template=bug-report.yml&title=opentui%3A+fatal%3A+undefined+is+not+an+object+%28evaluating+%27local.agent.current%28%29.name%27%29&description=%60%60%60%0ATypeError%3A+undefined+is+not+an+object+%28evaluating+%27local.agent.current%28%29.name%27%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Fcomponent%2Fprompt%2Findex.tsx%3A850%3A75%29%0A++++at+%3Canonymous%3E+%28..%2F..%2Fnode_modules%2F.bun%2F%40opentui%2Bsolid%400.1.74%2B897ebc1644d3edd0%2Fnode_modules%2F%40opentui%2Fsolid%2Findex.js%3A148%3A62%29%0A++++at+runComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A742%3A22%29%0A++++at+updateComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A724%3A3%29%0A++++at+runTop+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A833%3A7%29%0A++++at+runUserEffects+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A928%3A18%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A849%3A17%29%0A++++at+completeUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A900%3A17%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A850%3A5%29%0A++++at+setStore+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fstore%2Fdist%2Fdev.js%3A221%3A5%29%0A++++at+processTicksAndRejections+%28native%3A7%3A39%29...%0A%60%60%60&opencode-version=1.1.28

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @purezhang on GitHub (Jan 21, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description https://github.com/anomalyco/opencode/issues/new?template=bug-report.yml&title=opentui%3A+fatal%3A+undefined+is+not+an+object+%28evaluating+%27local.agent.current%28%29.name%27%29&description=%60%60%60%0ATypeError%3A+undefined+is+not+an+object+%28evaluating+%27local.agent.current%28%29.name%27%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Fcomponent%2Fprompt%2Findex.tsx%3A850%3A75%29%0A++++at+%3Canonymous%3E+%28..%2F..%2Fnode_modules%2F.bun%2F%40opentui%2Bsolid%400.1.74%2B897ebc1644d3edd0%2Fnode_modules%2F%40opentui%2Fsolid%2Findex.js%3A148%3A62%29%0A++++at+runComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A742%3A22%29%0A++++at+updateComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A724%3A3%29%0A++++at+runTop+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A833%3A7%29%0A++++at+runUserEffects+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A928%3A18%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A849%3A17%29%0A++++at+completeUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A900%3A17%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A850%3A5%29%0A++++at+setStore+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fstore%2Fdist%2Fdev.js%3A221%3A5%29%0A++++at+processTicksAndRejections+%28native%3A7%3A39%29...%0A%60%60%60&opencode-version=1.1.28 ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the windowsopentuibug labels 2026-02-16 18:06:08 -05:00
Author
Owner

@purezhang commented on GitHub (Jan 21, 2026):

Image
@purezhang commented on GitHub (Jan 21, 2026): <img width="1112" height="702" alt="Image" src="https://github.com/user-attachments/assets/ca8c5dd8-592c-485d-bf38-6f1c895ce0e9" />
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9805: opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name') - Exact same error when using /connect with MiniMax API key on Windows 11
  • #7918: Crash when local.agent.current() returns undefined during startup/auth - Root cause analysis of this specific error
  • #9774: opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name') - Same error with oh-my-opencode and opencode-antigravity-auth on Windows 11
  • #9775: opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name') - Same crash pattern

All of these issues share the identical error: 'undefined is not an object (evaluating 'local.agent.current().name')' occurring at the same file location (src/cli/cmd/tui/component/prompt/index.tsx:850). This appears to be a systematic issue when agents are not yet loaded or initialized during authentication/provider connection flows.

Feel free to ignore if your specific case addresses something unique not covered by these issues.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #9805: opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name') - Exact same error when using /connect with MiniMax API key on Windows 11 - #7918: Crash when local.agent.current() returns undefined during startup/auth - Root cause analysis of this specific error - #9774: opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name') - Same error with oh-my-opencode and opencode-antigravity-auth on Windows 11 - #9775: opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name') - Same crash pattern All of these issues share the identical error: **'undefined is not an object (evaluating 'local.agent.current().name')'** occurring at the same file location (src/cli/cmd/tui/component/prompt/index.tsx:850). This appears to be a systematic issue when agents are not yet loaded or initialized during authentication/provider connection flows. Feel free to ignore if your specific case addresses something unique not covered by these issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7083