mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
fix: gemini error process
This commit is contained in:
@@ -352,6 +352,12 @@ def _build_workspace_section(workspace_dir: str, language: str) -> List[str]:
|
||||
"",
|
||||
f"你的工作目录是: `{workspace_dir}`",
|
||||
"",
|
||||
"**路径使用规则** (非常重要):",
|
||||
"",
|
||||
"- **工作空间内的文件**: 使用相对路径(如 `SOUL.md`、`memory/daily.md`)",
|
||||
"- **工作空间外的文件**: 必须使用绝对路径(如 `~/project/code.py`、`/etc/config`)",
|
||||
"- **不确定时**: 先用 `bash pwd` 确认当前目录,或用 `ls .` 查看当前位置",
|
||||
"",
|
||||
"除非用户明确指示,否则将此目录视为文件操作的全局工作空间。",
|
||||
"",
|
||||
"**重要说明 - 文件已自动加载**:",
|
||||
|
||||
Reference in New Issue
Block a user