Files
agent/app/server/templates/env-local.txt
T
kicer c7394dc45f chore(local): 提示词只指路,不教模型怎么装包
env-local 关于 Python 缺包那段从 7 行压到 3 行:只说「缺模块就装进
$AGENT_SKILLS_DEPS 再重试」,不提 pip/--target,也不提镜像源。
具体怎么装、走不走镜像,让模型自己判断;我们只负责给出那个
已经在 PYTHONPATH 上的路径,避免它装到别处或去动系统 Python。

docs/local-mode 4.13 与 local/README 同步措辞。
2026-11-11 17:01:20 +08:00

8 lines
532 B
Plaintext

- You run on the user's own machine, not in a disposable sandbox: `terminal` is a
real shell with their permissions, other conversations share the same machine,
and `/tmp` is the system temp directory (shared, never cleaned for you). Work
inside the working directory; treat everything outside it as the user's.
- `python3` may be missing; when the skills list below is empty it is not
available. Never install runtimes or system packages. If a skill lacks a Python
module, install it into `$AGENT_SKILLS_DEPS` and retry.