🐛 Unable to set up Azure OpenAI Fix https://github.com/siyuan-note/siyuan/issues/10390
This commit is contained in:
parent
fbbf83b52d
commit
f2182b5ef5
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ export const ai = {
|
|||
apiMaxTokens: parseInt((ai.element.querySelector("#apiMaxTokens") as HTMLInputElement).value),
|
||||
apiProxy: (ai.element.querySelector("#apiProxy") as HTMLInputElement).value,
|
||||
apiTimeout: parseInt((ai.element.querySelector("#apiTimeout") as HTMLInputElement).value),
|
||||
apiProvider: (ai.element.querySelector("#apiProvider") as HTMLSelectElement).value,
|
||||
}
|
||||
}, response => {
|
||||
window.siyuan.config.ai = response.data;
|
||||
|
|
Loading…
Add table
Reference in a new issue