fix: prefix 32 unused parameters with underscore (#22694)

This commit is contained in:
Kit Langton
2026-04-15 21:56:23 -04:00
committed by GitHub
parent 6625766350
commit d6b14e2467
17 changed files with 30 additions and 30 deletions

View File

@@ -49,7 +49,7 @@ export namespace ProviderTransform {
function normalizeMessages(
msgs: ModelMessage[],
model: Provider.Model,
options: Record<string, unknown>,
_options: Record<string, unknown>,
): ModelMessage[] {
// Anthropic rejects messages with empty content - filter out empty string messages
// and remove empty text/reasoning parts from array content