fix: remove 8 more unnecessary as any casts in opencode core (#22877)

This commit is contained in:
Kit Langton
2026-04-16 15:27:53 -04:00
committed by GitHub
parent 219b473e66
commit 2fe9d94470
8 changed files with 16 additions and 13 deletions

View File

@@ -193,7 +193,7 @@ function normalizeMessages(
providerOptions: {
...msg.providerOptions,
openaiCompatible: {
...(msg.providerOptions as any)?.openaiCompatible,
...msg.providerOptions?.openaiCompatible,
[field]: reasoningText,
},
},