json tool fix
This commit is contained in:
parent
2d6dedaa5a
commit
ed52cd3c19
|
|
@ -81,6 +81,8 @@ sessions_spawn(agentId="rss-operator", task="{\"project_name\":\"<project_na
|
||||||
|
|
||||||
**Task must always be a JSON string. Never an object, never a text description.**
|
**Task must always be a JSON string. Never an object, never a text description.**
|
||||||
|
|
||||||
|
If you are unsure how to format the task, use `json.dumps({"project_name": project_name})` or equivalent — do not reason about escaping manually. If the tool returns `task: must be string`, it means you passed a dict/object; wrap it with `json.dumps()` and retry immediately without further analysis.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Step 3 — Await all responses
|
## Step 3 — Await all responses
|
||||||
|
|
@ -116,8 +118,6 @@ CORRECT — raw output, whatever shape the operator returned:
|
||||||
|
|
||||||
Note that `rss` returns an array and `github` returns an object — this is intentional. Do not normalize them to a common shape.
|
Note that `rss` returns an array and `github` returns an object — this is intentional. Do not normalize them to a common shape.
|
||||||
|
|
||||||
DO NOT return the url-operator response in this step.
|
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue