add channel to the instruct controller
This commit is contained in:
parent
b9c7f63249
commit
95fd02be20
|
|
@ -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