mirror of
https://github.com/eryajf/chatgpt-dingtalk.git
synced 2025-10-05 16:16:56 +08:00
feat: 支持gpt4.0的自定义 (#93)
This commit is contained in:
@@ -28,7 +28,6 @@ func New(userId string) *ChatGPT {
|
||||
var ctx context.Context
|
||||
var cancel func()
|
||||
|
||||
// public.Config.BaseURL, public.Config.ApiKey, public.Config.HttpProxy
|
||||
if public.Config.SessionTimeout == 0 {
|
||||
ctx, cancel = context.WithCancel(context.Background())
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user