In this article
Accept an update when the public tool list and application enforcement agree.
Pydantic AI v2.76.0 on November 26 adds mid-session tool updates where the realtime model profile supports them. The update changes the tool definition visible to the provider. The service still controls authorization for every invocation.
What the source establishes
Keep a versioned list of approved tools per application session. A previously listed tool may stay in an in-flight response while the session changes its visible catalogue. Keep the model, task and tool definitions fixed while you change the session behavior.
Design the comparison
Use a session with harmless no-op capabilities. Add one allowed tool, retire another, and check the resulting definitions around a turn boundary. Compare with a provider profile that lacks update support. Use simulated state and authorized no-op tools for the decision points in the example. Trace the structured result as well as the visible text. Use a stable control, change the condition you are investigating and repeat both cases in the same environment. Keep the request or data distribution, software revisions and hardware allocation in the run record. Include the route you normally use and the case in which the expected prerequisite is absent. This helps localize a discrepancy when the test produces a different result.
Read the results
Inspect which tool list the provider received and whether the final dispatcher checks the active authorization. Record what happens to requests begun before the revision changes. Check exactly which state the next turn receives. Classify decisions made by the runtime separately from those made by the model.
Decide what goes into service
Accept an update when the public tool list and application enforcement agree. Define a restart or rollover for profiles that cannot update during a session. State the acceptance threshold before choosing the implementation. Add the tested boundary and conditions for revisiting it to the release record. If an observed behavior differs from expectations, narrow the scope of the rollout while collecting evidence for that case. Keep the prior artifact or configuration available so the comparison remains repeatable.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.