Uh oh!
There was an error while loading. Please reload this page.
fix: add assertInInjectionContext into inject* fns to improve debugging errors outside injection context - #764
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
eacaf65 to
814d111Compare814d111 to
c5b83e0CompareView your CI Pipeline Execution ↗ for commit c5b83e0
☁️ Nx Cloud last updated this comment at |
@tanstack/ai@tanstack/ai-angular@tanstack/ai-anthropic@tanstack/ai-client@tanstack/ai-code-mode@tanstack/ai-code-mode-skills@tanstack/ai-devtools-core@tanstack/ai-elevenlabs@tanstack/ai-event-client@tanstack/ai-fal@tanstack/ai-gemini@tanstack/ai-grok@tanstack/ai-groq@tanstack/ai-isolate-cloudflare@tanstack/ai-isolate-node@tanstack/ai-isolate-quickjs@tanstack/ai-mcp@tanstack/ai-ollama@tanstack/ai-openai@tanstack/ai-openrouter@tanstack/ai-preact@tanstack/ai-react@tanstack/ai-react-ui@tanstack/ai-solid@tanstack/ai-solid-ui@tanstack/ai-svelte@tanstack/ai-utils@tanstack/ai-vue@tanstack/ai-vue-ui@tanstack/openai-base@tanstack/preact-ai-devtools@tanstack/react-ai-devtools@tanstack/solid-ai-devtoolscommit: |
Uh oh!
There was an error while loading. Please reload this page.
* chore(ai-angular): scaffold package (manifest, tsconfigs, eslint, reactive helper) * feat(ai-angular): public types + vitest TestBed config * feat(ai-angular): minimal injectChat + TestBed harness, Vitest+Angular wiring (de-risk) * feat(ai-angular): full injectChat (reactive opts + structured output) and injectGeneration base * test(ai-angular): exercise structured-output partial→final via setMessages (wave-5 review fix) * feat(ai-angular): media-generation functions (image, audio, speech, video, transcription, summarize) * feat(ai-angular): public exports, type-level tests, README * feat(examples,docs): Angular chat example + quick-start & API docs * chore: sync lockfile for ts-angular-chat example * chore(ai-angular): add changeset * fix(ai-angular): align tslib version, drop unused @standard-schema/spec dep * docs(ai-angular): fix API reference examples (drop dangling type, correct Types re-export list) * ci: apply automated fixes * fix: add assertInInjectionContext into inject* fns to improve debugging errors outside injection context (#764) fix: add assertInInjectionContext into inject* fns for better debugging * fix(examples): repair angular chat example and add client-tools demo The ts-angular-chat example was non-functional: - Server threw `serverTools.map is not a function` (500) because `mergeAgentTools` was passed `{}` instead of an array, so sending a message did nothing. Pass `[]` like every other example. - `src/styles.css` was never imported, and it `@import`ed `tailwindcss` which the example never declared as a dependency. Import the stylesheet from `main.ts` and drop the unresolved Tailwind import (styles are now self-contained CSS). - Tool-call assistant turns rendered as empty bubbles because the template only handled `text` parts. Render `tool-call` parts as a pill (name, args, output) and skip messages with no visible content. Also adds invokable client tools (rollDice, flipCoin, calculate, mock getWeather) alongside getTime, and gives the demo a polished UI (hero/empty state, suggestion chips, streaming tool pills, auto-scroll). * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Riccardo Perra <riccardo.perra@icloud.com>
No description provided.