transformParams

Transform the call params before wrapGenerate/wrapStream run, for the given operation. The transformed params flow into both the wrap hooks and the downstream call. This is the params-only seam — a middleware can implement just this (e.g. ai.torad.aisdk.middleware.defaultSettingsMiddleware). Default: pass through. Mirrors v6's transformParams({ type, params, model }).