mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
436f487171
commit
cc1bb7775a
3 changed files with 11 additions and 3 deletions
|
|
@ -19,7 +19,6 @@ package util
|
|||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"github.com/siyuan-note/siyuan/kernel/model"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
|
|
@ -48,7 +47,6 @@ func ChatGPT(msg string) (ret string) {
|
|||
|
||||
func ChatGPTContinueWrite(msg string, contextMsgs []string) (ret string, retContextMsgs []string) {
|
||||
if "" == OpenAIAPIKey {
|
||||
PushMsg(model.Conf.Language(193), 5000)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue