Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
MentorChatKeys class
The MentorChatKeys class of Novior.MentorAgent.Abstractions.Models: Keys MentorAgent reads in the AdditionalProperties of a chat response and of its…
On this page
Keys MentorAgent reads in the AdditionalProperties of a chat response and of its streaming updates, that the application's own IChatClient sets. A key stays the same from one version to the next.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public static class MentorChatKeys
dotnet add package Novior.MentorAgent.AbstractionsFields
Section titled “Fields”ModelNotCalled
Section titled “ModelNotCalled”public const string ModelNotCalled = "mentoragent.model_not_called"
The response does not come from a model: the application's chat client stopped the call before it reached one — the assistant turned off, a budget used up — and answered by itself. Set it on the ChatResponse, and on each ChatResponseUpdate when streaming; its value is the cause, an open string such as ai_switch or budget. MentorAgent asks no model about a turn none of whose requests reached one: the check of the actions a reply announced does not run. A missing or zero Usage says nothing of the kind: a model may not report its usage.
