@blank-utils/llm 0.4.11 → 0.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1541,7 +1541,7 @@ ${systemPrompt}` : systemPrompt;
1541
1541
  mermaid: mermaidOptions,
1542
1542
  controls: streamdownControls,
1543
1543
  parseMarkdownIntoBlocksFn: sanitizeMarkdownLanguageBlocks,
1544
- children: msg.content
1544
+ children: msg.content.includes("\u{1F4C4} PDF:") ? (msg.content.split("\u{1F4C4} PDF:")[0] || "").trim() : msg.content
1545
1545
  }
1546
1546
  ) })
1547
1547
  ] }) : /* @__PURE__ */ jsxs3("div", { className: "prose prose-base dark:prose-invert max-w-none py-2 w-full min-w-0 font-mono bg-transparent mt-2 !text-current", children: [
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  useCompletion,
27
27
  useLLM,
28
28
  useStream
29
- } from "./chunk-XDCST2X2.js";
29
+ } from "./chunk-CUQPPM45.js";
30
30
  export {
31
31
  Chat,
32
32
  ChatInput,
@@ -9,7 +9,7 @@ import {
9
9
  useCompletion,
10
10
  useLLM,
11
11
  useStream
12
- } from "../chunk-XDCST2X2.js";
12
+ } from "../chunk-CUQPPM45.js";
13
13
  export {
14
14
  Chat,
15
15
  ChatApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blank-utils/llm",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "Run LLMs directly in your browser with WebGPU acceleration. Supports React hooks and eager background loading.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",