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
+1 -1
View File
@@ -30,7 +30,7 @@ const modelIdSchema = Schema.String.pipe(Schema.brand("ModelID"))
export type ModelID = typeof modelIdSchema.Type
export const ModelID = modelIdSchema.pipe(
withStatics((schema: typeof modelIdSchema) => ({
withStatics((_schema: typeof modelIdSchema) => ({
zod: z.string().pipe(z.custom<ModelID>()),
})),
)
+1 -1
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