6 references to Continue
Microsoft.Extensions.AI (6)
ChatCompletion\FunctionInvokingChatClient.cs (6)
246
case ContinueMode.
Continue
when options.ToolMode is RequiredChatToolMode:
327
case ContinueMode.
Continue
when options.ToolMode is RequiredChatToolMode:
435
ContinueMode continueMode = ContinueMode.
Continue
;
466
return new(ContinueMode.
Continue
, FunctionStatus.NotFound, functionCallContent, result: null, exception: null);
480
context.Terminate ? ContinueMode.Terminate : ContinueMode.
Continue
,
489
RetryOnError ? ContinueMode.
Continue
: ContinueMode.AllowOneMoreRoundtrip, // We won't allow further function calls, hence the LLM will just get one more chance to give a final answer.