mirror of
https://github.com/coaidev/coai.git
synced 2025-05-21 22:10:12 +09:00
fix conversation id
This commit is contained in:
parent
6e0c14967e
commit
0e47b9e4f9
@ -1,6 +1,6 @@
|
||||
import axios from "axios";
|
||||
|
||||
export const version = "3.3.3";
|
||||
export const version = "3.3.4";
|
||||
export const deploy: boolean = true;
|
||||
export let rest_api: string = "http://localhost:8094";
|
||||
export let ws_api: string = "ws://localhost:8094";
|
||||
|
@ -66,7 +66,7 @@ func ChatAPI(c *gin.Context) {
|
||||
|
||||
id := auth.GetId(db, user)
|
||||
|
||||
instance := conversation.ExtractConversation(db, user, id)
|
||||
instance := conversation.ExtractConversation(db, user, form.Id)
|
||||
hash := fmt.Sprintf(":chatthread:%s", utils.Md5Encrypt(utils.Multi(
|
||||
authenticated,
|
||||
strconv.FormatInt(id, 10),
|
||||
|
Loading…
Reference in New Issue
Block a user