Skip to content

[Bug]: 不能自动识别当前目录环境 #178

@MicalLee0415

Description

@MicalLee0415

问题描述

进入终端时,自然语言查看当前目录显示的是home/user/不是正确的目录。

问题类型

回归问题(以前正常,现在失败)

复现步骤

aish:/D/0/镜像定制平台 ➜ ;当前目录是什么?
────────────────────────
/home/ut005866@uos
────────────────────────
aish:
/D/0/镜像定制平台 ➜ pwd
/home/ut005866@uos/Desktop/04-临时文件/镜像定制平台
aish:/D/0/镜像定制平台 ➜ ;当前目录是什么?
🔧 使用工具: bash_exec (pwd)
/home/ut005866@uos/Desktop/04-临时文件/镜像定制平台
────────────────────────
/home/ut005866@uos/Desktop/04-临时文件/镜像定制平台
────────────────────────
aish:
/D/0/镜像定制平台 ➜

期望行为

功能正常

实际行为

pwd明显发现和自然语言结果不一致

AISH 版本

0.2.5

操作系统

UOS20(1070)

安装方式

deb 包

AI 模型 / 提供商

glm5

日志信息

补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackagingPackaging or installation issueptyPTY or interactive process issueregressionBehavior that previously worked and now failstoolsTool integration issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions