builder: require durable workspace execution
Some checks failed
build / build (push) Failing after 2s
Some checks failed
build / build (push) Failing after 2s
This commit is contained in:
@@ -127,3 +127,18 @@ for generated agents that read or write files.
|
||||
|
||||
Use `skills=skill_sources or None`, not an empty list, so agents without a
|
||||
`skills/` directory still build cleanly.
|
||||
|
||||
## Invocation Budget
|
||||
|
||||
Generated agents should use the same recursion budget as agent-builder:
|
||||
|
||||
```python
|
||||
state = await graph.ainvoke(
|
||||
{"messages": [{"role": "user", "content": prompt}]},
|
||||
config={"recursion_limit": 500},
|
||||
)
|
||||
```
|
||||
|
||||
For streaming/event loops, pass the same config to `graph.astream_events(...)`.
|
||||
This prevents normal multi-step skill/subagent workflows from failing at the
|
||||
default LangGraph recursion cap.
|
||||
|
||||
Reference in New Issue
Block a user