实现terminalcode和文件交互

This commit is contained in:
minorQAQ committed 2026-07-08 17:24:51 +08:00
1 parent 287e1935f6
commit a5e5aff63f
141 files changed
+2385 -1826

No files matched your search

+12 -1
View File
@@ -412,4 +412,15 @@ You are a visual grounding model for desktop GUI control.
| **循环检测两级响应** | 先警告引导,再强制终止,避免误杀同时防止无限循环 | loop_detector.py 的 warn→end 机制 |
| **坐标定位批量化** | N 个元素的坐标定位只需 1 次子模型调用,而非 N 次 | _batch_ground_elements + _build_batch_prompt |
| **One-shot 示例纠正格式** | 视觉定位模型容易输出 JSON/Markdown/解释文字,one-shot 强制纯坐标格式 | _build_batch_prompt 中的 4 行坐标示例 |
| **trajectory_rounds 短期记忆过滤** | 多轮 GUI 操作后上下文过长,仅保留最近 3 轮工具返回结果 | _filter_short_term_memory() |
| **trajectory_rounds 短期记忆过滤** | 多轮 GUI 操作后上下文过长,仅保留最近 3 轮工具返回结果 | _filter_short_term_memory() |
#### 连接远程服务器
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -p 60007 minor123@semi-ai.tech
#### 本地端口映射
ssh -fN -L 8901:127.0.0.1:8901 -L 8902:127.0.0.1:8902 -L 8903:127.0.0.1:8903 minor123@semi-ai.tech -p 60007
# 查看状态码(200表示健康)
curl -o /dev/null -s -w "%{http_code}\n" http://localhost:8901/health
curl -o /dev/null -s -w "%{http_code}\n" http://localhost:8902/health
curl -o /dev/null -s -w "%{http_code}\n" http://localhost:8903/health