This commit is contained in:
Daniel 2024-02-23 10:47:15 +08:00
parent fbbf83b52d
commit f2182b5ef5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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;