RunConfig
A RunConfig is one object of settings that applies to a whole run, across every agent in it. See it override each agent's model, name the trace, and edit the model input right before each model call, all without touching an agent definition.
11 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 11 minutes.
Written from the official documentation
In this module: Running agents
- RunConfigOne object of settings that applies to a whole run.Pro
- ResultsFinal output, new items, next input and what to do after a run.Pro
- StreamingRaw model events and run item events as the agent works.Pro
- Error handlers and exceptionsMax turns, model errors and how a run recovers or fails.Pro
- REPL and agent visualizationChat with an agent in a terminal and draw its graph.Pro