Interface IAgentRunObserver
- Namespace
- Oscova.Agents.Middleware
- Assembly
- Oscova.Agents.dll
Observes each model API call made by an agent during a run. Implemented by consumers that need live visibility into the agent pipeline.
public interface IAgentRunObserverMethods
- OnRequest(IEnumerable<ChatMessage>, ChatOptions?)
-
Called immediately before a request is sent to the model client.
- OnResponse(ChatResponse)
-
Called after the model client returns a response.