TanStackOSS
    ai
    fix(ai, ai-ollama): merge-driven regressions from CR Address CR findings after merging main: - ai-ollama tests: inject testLogger (from resolveDebugOption(false)) into every adapter.chatStream and adapter.structuredOutput call — main's #467 made `logger` required on TextOptions, the PR's new tests were written against the pre-#467 contract and crashed at runtime on `logger.errors`/`logger.request` dereference. - generateVideo: narrow `error` via toRunErrorPayload before handing it to logger.errors. Previously passed the raw error object through the logger meta, which would surface SDK request state (headers, payloads) to any user-supplied logger — defeating the hardening the PR applies to the RUN_ERROR event. - error-narrowing changeset: update wording to match actual code. The OpenAI text adapter's chatStream still logs under the merge, but now through the narrowed `{message, code}` payload rather than raw errors. Changeset previously claimed "the library now re-throws without logging", which didn't match shipped behavior.
    nx run-many --targets=build --exclude=examples/**
Succeeded
CI Pipeline Execution

nx run-many --targets=build --exclude=examples/**

Click to copy
Linux
4 CPU cores
e4b3aa4d465
3%

Cache hits

1 of 31 tasks used cache.

Get faster results

Learn how to enable distribution.

Atomizer enabled

31 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools