| values | Full state after each step | Debugging, state inspection | | updates | State deltas after each step | Efficient UI updates | | messages | LLM tokens + metadata | Chat interfaces, typing indicators | | custom | User-defined events | Progress bars, status updates | | debug | Maximum information | Development, troubleshooting |
| Mode selection | Use ["updates", "custom"] for most UIs | | Token streaming | Use messages mode with node filtering | | Progress tracking | Use custom mode with getstreamwriter() | | Subgraph visibility | Enable subgraphs=True for complex workflows |
stream-modes Keywords: stream mode, values, updates, messages, custom, debug Solves:
Modelli di streaming LangGraph per aggiornamenti in tempo reale. Da utilizzare durante l'implementazione di indicatori di avanzamento, streaming di token, eventi personalizzati o feedback degli utenti in tempo reale nei flussi di lavoro. Fonte: yonatangross/orchestkit.