Skip to content

Commit

Permalink
feat: bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean-YZG committed May 6, 2024
1 parent b3e856d commit a1493bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/client/platforms/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class ClaudeApi implements LLMApi {
if (prompt[0]?.role === "assistant") {
prompt.unshift({
role: "user",
content: "",
content: ";",
});
}

Expand Down
2 changes: 1 addition & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a1493bf

Please sign in to comment.