Spaces:
Sleeping
Sleeping
fix: increase runbook truncation limit 800->2000 chars
Browse files- training/prompts.py +1 -1
training/prompts.py
CHANGED
|
@@ -66,7 +66,7 @@ def format_observation(obs, step: int, last_action_result: dict | None = None) -
|
|
| 66 |
ok = result.get("ok", False)
|
| 67 |
if ok:
|
| 68 |
data = result.get("data", "")
|
| 69 |
-
data_str = str(data)[:
|
| 70 |
parts.append(f"\n**Result (success):**\n{data_str}")
|
| 71 |
else:
|
| 72 |
error = result.get("error", "Unknown error")
|
|
|
|
| 66 |
ok = result.get("ok", False)
|
| 67 |
if ok:
|
| 68 |
data = result.get("data", "")
|
| 69 |
+
data_str = str(data)[:2000]
|
| 70 |
parts.append(f"\n**Result (success):**\n{data_str}")
|
| 71 |
else:
|
| 72 |
error = result.get("error", "Unknown error")
|