🐛 fix anthropic requests with systemMessage

This commit is contained in:
Nate Sesti 2024-03-06 19:27:36 -08:00
parent 6b525c1754
commit 0ad22a73df
3 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ class Anthropic extends BaseLLM {
},
body: JSON.stringify({
...this._convertArgs(options),
messages,
messages: messages.filter((m) => m.role !== "system"),
system: this.systemMessage,
stream: true,
}),

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.8.14",
"version": "0.8.15",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.8.14",
"version": "0.8.15",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -697,9 +697,9 @@
integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==
"@lancedb/vectordb-darwin-arm64@*":
version "0.4.11"
resolved "https://registry.npmjs.org/@lancedb/vectordb-darwin-arm64/-/vectordb-darwin-arm64-0.4.11.tgz"
integrity sha512-JDOKmFnuJPFkA7ZmrzBJolROwSjWr7yMvAbi40uLBc25YbbVezodd30u2EFtIwWwtk1GqNYRZ49FZOElKYeC/Q==
version "0.4.12"
resolved "https://registry.npmjs.org/@lancedb/vectordb-darwin-arm64/-/vectordb-darwin-arm64-0.4.12.tgz"
integrity sha512-38/rkJRlWXkPWXuj9onzvbrhnIWcIUQjgEp5G9v5ixPosBowm7A4j8e2Q8CJMsVSNcVX2JLqwWVldiWegZFuYw==
"@lancedb/vectordb-darwin-arm64@0.4.10":
version "0.4.10"