Skip to content

Commit

Permalink
fix: claude not taking custom firstMes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Jun 15, 2024
1 parent fc3fe4c commit 323bcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constants/APIState/ClaudeAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ClaudeAPI extends APIBase {
system: system.content,
...payloadFields,
model: claudeModel.id,
messages: [{ role: 'user', content: 'Hi' }, ...messages],
messages: [{ role: 'user', content: firstMes }, ...messages],
stop_sequences: this.constructStopSequence(),
}
}
Expand Down

0 comments on commit 323bcdf

Please sign in to comment.