Skip to content

bug: windows 平台 Agent 调用 git bash 无法处理部分命令,并且会被误认为 MingW 环境,而非原生 MSVC 环境 #2718

Description

@MaxwellGengYF

What version of Kimi Code is running?

0.34.0

Which open platform/subscription were you using?

Any platform

Which model were you using?

Any model

What platform is your computer?

Windows 11

What issue are you seeing?

在 Windows 平台使用 Git-Bash 有与 powershell 不兼容的问题,同时语法也不完全兼容原生 POSIX Bash,导致模型经常出错试错,严重时会导致整个工作链条偏移:如开发时直接默认 MingW 环境编译,导致试图修复根本不存在的编译报错。

What steps can reproduce the bug?

任何 Agent loop 涉及到高频 Bash 调用

What is the expected behavior?

#2717
提交了一个 PR 单独解决这个问题。

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions