mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
✨ 桌面端接入 OpenAI Chat API https://github.com/siyuan-note/siyuan/issues/7560
This commit is contained in:
parent
33c933c440
commit
49008041b5
6 changed files with 156 additions and 0 deletions
|
|
@ -327,4 +327,6 @@ func ServeAPI(ginServer *gin.Engine) {
|
|||
ginServer.Handle("GET", "/snippets/*filepath", serveSnippets)
|
||||
|
||||
ginServer.Handle("POST", "/api/av/renderAttributeView", model.CheckAuth, renderAttributeView)
|
||||
|
||||
ginServer.Handle("POST", "/api/ai/chatGPT", model.CheckAuth, chatGPT)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue