6 references to Continue
Microsoft.Extensions.AI (6)
ChatCompletion\FunctionInvokingChatClient.cs (6)
292case ContinueMode.Continue when options.ToolMode is RequiredChatToolMode: 408case ContinueMode.Continue when options.ToolMode is RequiredChatToolMode: 526ContinueMode continueMode = ContinueMode.Continue; 557return new(ContinueMode.Continue, FunctionStatus.NotFound, functionCallContent, result: null, exception: null); 571context.Terminate ? ContinueMode.Terminate : ContinueMode.Continue, 580RetryOnError ? 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.