mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 03:33:48 +08:00
优化聊天会话管理,支持 websocket 断开重连之后能继续连接会话上下文
This commit is contained in:
@@ -52,7 +52,7 @@ func NewDefaultConfig() *Config {
|
||||
MaxAge: 86400,
|
||||
Secure: true,
|
||||
HttpOnly: false,
|
||||
SameSite: http.SameSiteNoneMode,
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
},
|
||||
Chat: Chat{
|
||||
ApiURL: "https://api.openai.com/v1/chat/completions",
|
||||
|
||||
Reference in New Issue
Block a user