Skip to content

[BUG] 对话报错 #9859

@Yang-strive

Description

@Yang-strive

Problem (one or two sentences)

当我发送对话的时候,会报错

Image

Context (who is affected and when)

发送对话的时候就会看到,就是说根本不能对话

Reproduction steps

  1. 对话框输入任何内容,点击发送
  2. 就会出来错误信息:
API流式传输失败
$0.0000
API请求失败
Command failed with ENOENT: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption
spawnSync powershell ENOENT
  1. 将powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption命令拿到cmd窗口运行也是会报错:

powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption
Microsoft : 无法将“Microsoft”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确
保路径正确,然后再试一次。
所在位置 行:1 字符: 1

  • Microsoft Windows 10 家庭中文版
  •   + CategoryInfo          : ObjectNotFound: (Microsoft:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Expected result

对话报错

Actual result

对话报错

Variations tried (optional)

No response

App Version

3.36.2

API Provider (optional)

None

Model Used (optional)

N/A

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

API流式传输失败
$0.0000
API请求失败
Command failed with ENOENT: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption
spawnSync powershell ENOENT

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions