mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 18:53:42 +08:00
feat: bugfix
This commit is contained in:
@@ -164,7 +164,7 @@ export class ClaudeApi implements LLMApi {
|
|||||||
if (prompt[0]?.role === "assistant") {
|
if (prompt[0]?.role === "assistant") {
|
||||||
prompt.unshift({
|
prompt.unshift({
|
||||||
role: "user",
|
role: "user",
|
||||||
content: "",
|
content: ";",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1088,7 +1088,7 @@ function _Chat() {
|
|||||||
if (payload.url) {
|
if (payload.url) {
|
||||||
accessStore.update((access) => (access.openaiUrl = payload.url!));
|
accessStore.update((access) => (access.openaiUrl = payload.url!));
|
||||||
}
|
}
|
||||||
accessStore.useCustomConfig = true;
|
accessStore.update((access) => (access.useCustomConfig = true));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
|
Reference in New Issue
Block a user