AI agents are non-deterministic. Decide which tools they can call.
· 約4分
An AI agent decides at runtime which tool to call. Most of the time it picks the right one. Sometimes it doesn't, and the tool it picks is delete_repository.
You can't fix that by writing a better prompt. The agent is non-deterministic, so the reliable fix is to make sure the dangerous tool isn't there to call.