Private
Public Access
1
0

Make Conversation a pointer refernece on Message

Instead of a value, which lead some odd handling of conversation
references.

Also fixed some formatting and removed an unnecessary (and probably
broken) setting of ConversationID in a call to
`cmdutil.HandleConversationReply`
This commit is contained in:
2024-06-09 18:45:22 +00:00
parent a22119f738
commit 42c3297e54
6 changed files with 19 additions and 19 deletions

View File

@@ -31,9 +31,8 @@ func ReplyCmd(ctx *lmcli.Context) *cobra.Command {
}
cmdutil.HandleConversationReply(ctx, conversation, true, model.Message{
ConversationID: conversation.ID,
Role: model.MessageRoleUser,
Content: reply,
Role: model.MessageRoleUser,
Content: reply,
})
return nil
},