diff --git a/src/Infrastructure/BotSharp.Abstraction/Files/Models/FileLlmProcessOptions.cs b/src/Infrastructure/BotSharp.Abstraction/Files/Models/FileLlmProcessOptions.cs index 343fd1f4..16278d8a 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Files/Models/FileLlmProcessOptions.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Files/Models/FileLlmProcessOptions.cs @@ -5,12 +5,17 @@ public class FileLlmProcessOptions /// /// Llm provider /// - public string? LlmProvider { get; set; } + public string? Provider { get; set; } /// /// llm model /// - public string? LlModel { get; set; } + public string? Model { get; set; } + + /// + /// Llm maximum output tokens + /// + public int? MaxOutputTokens { get; set; } /// /// Reasoning effort level diff --git a/src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs b/src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs index c22ac27c..f869ce35 100644 --- a/src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs +++ b/src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs @@ -113,8 +113,8 @@ public partial class InstructService { var inference = await fileProcessor.GetFileLlmInferenceAsync(agent, prompt, files, new FileLlmProcessOptions { - LlmProvider = provider, - LlModel = model, + Provider = provider, + Model = model, Instruction = instruction, TemplateName = templateName, Data = state.GetStates().ToDictionary(x => x.Key, x => (object)x.Value)