Skip to content

TypeError in v0.0.1-alpha.12: Cannot read property 'toString' of undefined #170

@tby321

Description

@tby321

What happened?

在使用 qwen-code npm 包的 v0.0.1-alpha.12 版本时,会抛出以下错误:
Image
此错误在 v0.0.1-alpha.12 版本中出现,但在之前的版本(例如 v0.0.1-alpha.11 或更早)中运行正常

What did you expect to happen?

无报错,正常使用

Client information

Details
$ gemini /about

│ CLI Version              0.0.1-alpha.12                                │
│ Git Commit               d360b86 (local modifications)                 │
│ Model                    qwen3-coder-plus                              │
│ Sandbox                  no sandbox                                    │
│ OS                       linux                                         │
│ Auth Method              openai  

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions