fix(bedrock): omit system prompt from audio transcription

This commit is contained in:
david-koh 2026-09-17 13:46:56 +09:00
parent 5ccb1a143b
commit 017a30b8dc

View file

@ -122,7 +122,6 @@ impl BaseAudioTranscriptionConfig for BedrockAudioTranscriptionConfig {
{"text": instruction}
]
}],
"system": [{"text": "You are a transcription assistant."}],
"inferenceConfig": inference_config,
}),
})
@ -236,7 +235,6 @@ mod tests {
{"text": "Transcribe the audio. Respond with only the transcript. The audio language is en. Additional context: Speaker names"}
]
}],
"system": [{"text": "You are a transcription assistant."}],
"inferenceConfig": {"maxTokens": 4096, "temperature": 0}
})
);