(args)
| 328 | { |
| 329 | specificationVersion: "v3" as const, |
| 330 | async transformParams(args) { |
| 331 | if (args.type === "stream") { |
| 332 | // @ts-expect-error |
| 333 | args.params.prompt = ProviderTransform.message( |
| 334 | args.params.prompt, |
| 335 | input.model, |
| 336 | prepared.messageTransformOptions, |
| 337 | ) |
| 338 | } |
| 339 | return args.params |
| 340 | }, |
| 341 | }, |
| 342 | ], |
| 343 | }), |