feat: bugfix

This commit is contained in:
Dean-YZG 2024-05-06 20:46:53 +08:00
parent b3e856df1d
commit a1493bfb4e
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ export class ClaudeApi implements LLMApi {
if (prompt[0]?.role === "assistant") {
prompt.unshift({
role: "user",
content: "",
content: ";",
});
}

View File

@ -1088,7 +1088,7 @@ function _Chat() {
if (payload.url) {
accessStore.update((access) => (access.openaiUrl = payload.url!));
}
accessStore.useCustomConfig = true;
accessStore.update((access) => (access.useCustomConfig = true));
});
}
} catch {