#TEMPLATE#
This commit is contained in:
parent
d5f93d1318
commit
6a87a035bc
|
|
@ -79,6 +79,12 @@ public partial class InstructService : IInstructService
|
|||
}
|
||||
else if (completer is IChatCompletion chatCompleter)
|
||||
{
|
||||
if (instruction == "#TEMPLATE#")
|
||||
{
|
||||
instruction = prompt;
|
||||
prompt = message.Content;
|
||||
}
|
||||
|
||||
var result = await chatCompleter.GetChatCompletions(new Agent
|
||||
{
|
||||
Id = agentId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue