Installation and imports
Model and tool execution
No answer or failed run. Check status and provider errors. Verify that the model is available to your account and that the provider received the expected credentials. Do not infer success from a nonempty partial answer. The model does not call a tool. Check that the tool is registered, its description identifies when to use it, the selected provider supports the required tool path, and the prompt contains enough information. Inspect tool events. Instructions influence selection but do not guarantee a call. Tool arguments fail validation. Compare the received arguments with the schema. Keep required inputs explicit. Check that your tool returns a string orToolResult; an arbitrary object is not the same return contract.
A run completes after a denied tool. This can be correct: the final answer explains the denial. Evaluate the action outcome separately from conversation completion.
Streaming stops too early. Consume the whole Agent iterator. A model finish chunk can precede a tool roundtrip. Inspect disconnects, cancellation, and buffering limits in the transport.