Update smolagents.md

This commit is contained in:
PSBigBig 2025-09-05 09:54:24 +08:00 committed by GitHub
parent 57478deb51
commit b914816729
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,21 @@
# Smolagents: Guardrails and Fix Patterns
<details>
<summary><strong>🧭 Quick Return to Map</strong></summary>
<br>
> You are in a sub-page of **Agents & Orchestration**.
> To reorient, go back here:
>
> - [**Agents & Orchestration** — orchestration frameworks and guardrails](./README.md)
> - [**WFGY Global Fix Map** — main Emergency Room, 300+ structured fixes](../README.md)
> - [**WFGY Problem Map 1.0** — 16 reproducible failure modes](../../README.md)
>
> Think of this page as a desk within a ward.
> If you need the full triage and all prescriptions, return to the Emergency Room lobby.
</details>
Use this page when your orchestration uses **smolagents** (ToolCallingAgent, CodeAgent, multi agent flows) and you see tool loops, wrong snippets, role mixing, or answers that flip between runs. The table maps symptoms to exact WFGY fix pages and gives a minimal recipe you can paste.
**Acceptance targets**