Table of Contents

Class RepeatedToolCallGuardMiddleware

Namespace
Oscova.Agents.Middleware
Assembly
Oscova.Agents.dll

Detects repeated identical tool calls within a single user turn and returns a synthetic result before a small model can spend the whole function-calling budget on the loop.

public static class RepeatedToolCallGuardMiddleware

Inheritance

Inherited Members

Methods

UseRepeatedToolCallGuard(ChatClientBuilder)

Adds a function invocation guard that blocks the third identical call and terminates on the fourth.