mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 02:04:20 +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
3
app/src/types/index.d.ts
vendored
3
app/src/types/index.d.ts
vendored
|
|
@ -147,7 +147,7 @@ interface Window {
|
|||
}
|
||||
mermaid: {
|
||||
initialize(options: any): void,
|
||||
render(id: string, text: string): { svg:string }
|
||||
render(id: string, text: string): { svg: string }
|
||||
};
|
||||
plantumlEncoder: {
|
||||
encode(options: string): string,
|
||||
|
|
@ -727,6 +727,7 @@ interface IConfig {
|
|||
apiProvider: string // OpenAI, Azure
|
||||
apiUserAgent: string
|
||||
apiBaseURL: string
|
||||
apiVersion: string
|
||||
apiKey: string
|
||||
apiModel: string
|
||||
apiMaxTokens: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue