Browse Source

fix : 修复上下文问题 (#62)

Co-authored-by: swing <weiming.shi@chaitin.com>
swing 2 năm trước cách đây
mục cha
commit
d4d7482117
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -133,7 +133,7 @@ func ProcessRequest(rmsg public.ReceiveMsg) error {
 					logger.Warning("send message error: %v \n", err)
 					return err
 				}
-				path := "openaiCache/" + rmsg.SenderNick
+				path := "openaiCache/" + rmsg.SenderStaffId
 				cli.ChatContext.SaveConversation(path)
 			}
 		} else {