fixes missing system prompt on AWS anthropic-chat schema

This commit is contained in:
nai-degen 2024-03-16 16:00:59 -05:00
parent d9117bf08e
commit 435280fa04
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ export const signAwsRequest: RequestPreprocessor = async (req) => {
if (req.outboundApi === "anthropic-chat") {
strippedParams = AnthropicV1MessagesSchema.pick({
messages: true,
system: true,
max_tokens: true,
stop_sequences: true,
temperature: true,