hermes-connect-services 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/stall_detector.py +15 -0
- package/package.json +1 -1
package/lib/stall_detector.py
CHANGED
|
@@ -299,3 +299,18 @@ CONTINUE_PROMPT = "\n".join([
|
|
|
299
299
|
"如果它其实已经完成,或不需要执行,用一句话说明结论即可,不要重述计划。",
|
|
300
300
|
"如果需要用户先决定,提出一个具体的问题,不要继续描述待办。",
|
|
301
301
|
])
|
|
302
|
+
|
|
303
|
+
# 空回合的续跑提示:模型只留下思考过程(thinking),既没有正文也没有工具调用。
|
|
304
|
+
#
|
|
305
|
+
# 实测故障模式(2026-10-30,pi 会话 01a1880e,provider=workbuddy / hy4-preview):
|
|
306
|
+
# usage 显示 output 有 286 / 667 个 token、reasoning 145 / 457,耗时 7.6s、15.5s
|
|
307
|
+
# (不是超时被切),但 content 里只有 thinking 块,正文为空。用户看到的就是
|
|
308
|
+
# 「思考着,突然不工作了」。
|
|
309
|
+
#
|
|
310
|
+
# 与 CONTINUE_PROMPT 的区别:那一条假定还有可见文本可以判断意图;这里什么都
|
|
311
|
+
# 没有,所以不能说「执行你宣布的操作」—— 只能要求它把结论说出来。
|
|
312
|
+
EMPTY_TURN_PROMPT = "\n".join([
|
|
313
|
+
"你上一条回复只留下了思考过程,没有给出任何可见内容,也没有调用任何工具。",
|
|
314
|
+
"请把你的结论直接说出来:已经做了什么、接下来要做什么,或者一句话说明这一轮的结果。",
|
|
315
|
+
"不要重复思考过程,也不要只描述计划而不动手。",
|
|
316
|
+
])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hermes-connect-services",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Bring zcode-ai-connect's four loopback endpoints to hermes, and add the missing turn-end gate that re-runs a turn when the model announces a next step but calls no tool.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|