Commit Graph

5 Commits

Author SHA1 Message Date
Jordan Ritter ecfafc989c test: add unit tests for getSdkClientOptions utility 2026-02-26 12:47:19 -08:00
Jordan Ritter 777231aaea refactor: use static imports and remove as-any casts in adapter tests
Address PR review feedback: replace dynamic await import() with static
top-level imports using vi.hoisted() for mock declarations, and remove
all `as any` type casts since the SDK constructor types already accept
the options we pass.
2026-02-26 12:25:44 -08:00
Jordan Ritter e520a66ed6 test: add exhaustive option-forwarding tests for adapter getLanguageModel()
Each test mocks the AI SDK provider factory and asserts that all options
from the SDK client instance are forwarded. Compile-time exhaustiveness
guards ensure the tests break if the AI SDK provider types add new
options that need to be handled.
2026-02-26 12:03:39 -08:00
Alem Tuzlak 98ed92c4ef Feat/speed up build system (#3213) 2026-02-17 18:34:26 +01:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00