Merge pull request #1105 from visagang/features/vguruparan
add channel to the instruct controller
This commit is contained in:
commit
881d904168
|
|
@ -30,7 +30,8 @@ public class InstructModeController : ControllerBase
|
|||
.SetState("model_id", input.ModelId, source: StateSource.External)
|
||||
.SetState("instruction", input.Instruction, source: StateSource.External)
|
||||
.SetState("input_text", input.Text, source: StateSource.External)
|
||||
.SetState("template_name", input.Template, source: StateSource.External);
|
||||
.SetState("template_name", input.Template, source: StateSource.External)
|
||||
.SetState("channel", input.Channel, source: StateSource.External);
|
||||
|
||||
var instructor = _services.GetRequiredService<IInstructService>();
|
||||
var result = await instructor.Execute(agentId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue