mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🐛 Unable to set up Azure OpenAI https://github.com/siyuan-note/siyuan/issues/10469
This commit is contained in:
parent
9f69d7dc4a
commit
77885a8cc0
10 changed files with 35 additions and 3 deletions
|
|
@ -37,6 +37,7 @@ type OpenAI struct {
|
|||
APIBaseURL string `json:"apiBaseURL"`
|
||||
APIUserAgent string `json:"apiUserAgent"`
|
||||
APIProvider string `json:"apiProvider"` // OpenAI, Azure
|
||||
APIVersion string `json:"apiVersion"` // Azure API version
|
||||
}
|
||||
|
||||
func NewAI() *AI {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue