@blank-utils/llm 0.5.1 → 0.5.2

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.
@@ -1067,7 +1067,8 @@ var DEFAULT_SYSTEM_PROMPT = `You are a helpful AI assistant.
1067
1067
  B -- Yes --> C[Continue]
1068
1068
  B -- No --> D[Error]
1069
1069
  \`\`\`
1070
- - You can use LaTeX math ($$ ... $$).`;
1070
+ - You can use LaTeX math ($$ ... $$).
1071
+ - IF you are provided an uploaded image, your primary task is strictly to analyze the contents of that specific image in natural language. Do not hallucinate that the user desires a Mermaid diagram unless they specifically ask for one.`;
1071
1072
  var ALL_MODELS = { ...WEBLLM_MODELS };
1072
1073
  function isVisionModel(modelId) {
1073
1074
  if (!modelId) return false;
package/dist/index.css CHANGED
@@ -2290,6 +2290,9 @@ video {
2290
2290
  .table-row {
2291
2291
  display: table-row;
2292
2292
  }
2293
+ .contents {
2294
+ display: contents;
2295
+ }
2293
2296
  .list-item {
2294
2297
  display: list-item;
2295
2298
  }
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  useCompletion,
23
23
  useLLM,
24
24
  useStream
25
- } from "./chunk-S375B33F.js";
25
+ } from "./chunk-QUWLNQIN.js";
26
26
  export {
27
27
  Chat,
28
28
  ChatInput,
@@ -2290,6 +2290,9 @@ video {
2290
2290
  .table-row {
2291
2291
  display: table-row;
2292
2292
  }
2293
+ .contents {
2294
+ display: contents;
2295
+ }
2293
2296
  .list-item {
2294
2297
  display: list-item;
2295
2298
  }
@@ -9,7 +9,7 @@ import {
9
9
  useCompletion,
10
10
  useLLM,
11
11
  useStream
12
- } from "../chunk-S375B33F.js";
12
+ } from "../chunk-QUWLNQIN.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.5.1",
3
+ "version": "0.5.2",
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",