This commit is contained in:
Jicheng Lu 2025-10-14 14:09:09 -05:00
parent ee9fdb56c8
commit 749345d282
2 changed files with 9 additions and 4 deletions

View file

@ -5,12 +5,17 @@ public class FileLlmProcessOptions
/// <summary> /// <summary>
/// Llm provider /// Llm provider
/// </summary> /// </summary>
public string? LlmProvider { get; set; } public string? Provider { get; set; }
/// <summary> /// <summary>
/// llm model /// llm model
/// </summary> /// </summary>
public string? LlModel { get; set; } public string? Model { get; set; }
/// <summary>
/// Llm maximum output tokens
/// </summary>
public int? MaxOutputTokens { get; set; }
/// <summary> /// <summary>
/// Reasoning effort level /// Reasoning effort level

View file

@ -113,8 +113,8 @@ public partial class InstructService
{ {
var inference = await fileProcessor.GetFileLlmInferenceAsync(agent, prompt, files, new FileLlmProcessOptions var inference = await fileProcessor.GetFileLlmInferenceAsync(agent, prompt, files, new FileLlmProcessOptions
{ {
LlmProvider = provider, Provider = provider,
LlModel = model, Model = model,
Instruction = instruction, Instruction = instruction,
TemplateName = templateName, TemplateName = templateName,
Data = state.GetStates().ToDictionary(x => x.Key, x => (object)x.Value) Data = state.GetStates().ToDictionary(x => x.Key, x => (object)x.Value)