Skip to content

Commit 749345d

Browse files
author
Jicheng Lu
committed
rename
1 parent ee9fdb5 commit 749345d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/Infrastructure/BotSharp.Abstraction/Files/Models/FileLlmProcessOptions.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ public class FileLlmProcessOptions
55
/// <summary>
66
/// Llm provider
77
/// </summary>
8-
public string? LlmProvider { get; set; }
8+
public string? Provider { get; set; }
99

1010
/// <summary>
1111
/// llm model
1212
/// </summary>
13-
public string? LlModel { get; set; }
13+
public string? Model { get; set; }
14+
15+
/// <summary>
16+
/// Llm maximum output tokens
17+
/// </summary>
18+
public int? MaxOutputTokens { get; set; }
1419

1520
/// <summary>
1621
/// Reasoning effort level

src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public async Task<InstructResult> Execute(
113113
{
114114
var inference = await fileProcessor.GetFileLlmInferenceAsync(agent, prompt, files, new FileLlmProcessOptions
115115
{
116-
LlmProvider = provider,
117-
LlModel = model,
116+
Provider = provider,
117+
Model = model,
118118
Instruction = instruction,
119119
TemplateName = templateName,
120120
Data = state.GetStates().ToDictionary(x => x.Key, x => (object)x.Value)

0 commit comments

Comments
 (0)