mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 16:26:09 +01:00
🎨 AI supports configuration randomness and context number https://github.com/siyuan-note/siyuan/issues/10660
This commit is contained in:
parent
a7e1e3abac
commit
41b4984de3
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ export const ai = {
|
|||
apiKey: (ai.element.querySelector("#apiKey") as HTMLInputElement).value,
|
||||
apiModel: (ai.element.querySelector("#apiModel") as HTMLSelectElement).value,
|
||||
apiMaxTokens: parseInt((ai.element.querySelector("#apiMaxTokens") as HTMLInputElement).value),
|
||||
apiTemperature: parseInt((ai.element.querySelector("#apiTemperature") as HTMLInputElement).value),
|
||||
apiTemperature: parseFloat((ai.element.querySelector("#apiTemperature") 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue