create conv with tags
This commit is contained in:
parent
02db15fdc6
commit
cce06efdd1
|
|
@ -36,6 +36,11 @@ public class MessageConfig
|
|||
/// </summary>
|
||||
public List<MessageState> States { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Conversation tags
|
||||
/// </summary>
|
||||
public List<string> Tags { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Agent task id
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ public class ConversationController : ControllerBase
|
|||
{
|
||||
AgentId = agentId,
|
||||
Channel = channel == default ? ConversationChannel.OpenAPI : channel.Value,
|
||||
Tags = config.Tags ?? new(),
|
||||
TaskId = config.TaskId
|
||||
};
|
||||
conv = await service.NewConversation(conv);
|
||||
|
|
|
|||
Loading…
Reference in a new issue