mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Fix processor key used to configure chat model in khoj obsidian
This commit is contained in:
@@ -103,7 +103,7 @@ export async function configureKhojBackend(vault: Vault, setting: KhojSetting, n
|
|||||||
else if (data["processor"]["conversation"]["openai-api-key"] !== setting.openaiApiKey) {
|
else if (data["processor"]["conversation"]["openai-api-key"] !== setting.openaiApiKey) {
|
||||||
data["processor"]["conversation"] = {
|
data["processor"]["conversation"] = {
|
||||||
"conversation-logfile": data["processor"]["conversation"]["conversation-logfile"],
|
"conversation-logfile": data["processor"]["conversation"]["conversation-logfile"],
|
||||||
"model": data["procesor"]["conversation"]["model"],
|
"model": data["processor"]["conversation"]["model"],
|
||||||
"openai-api-key": setting.openaiApiKey,
|
"openai-api-key": setting.openaiApiKey,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user