llmist 15.2.0 → 15.2.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.
package/dist/index.cjs CHANGED
@@ -2485,14 +2485,18 @@ function formatParamsForBlockExample(params, prefix = "", argPrefix = GADGET_ARG
2485
2485
  value.forEach((item, index) => {
2486
2486
  const itemPath = `${fullPath}/${index}`;
2487
2487
  if (typeof item === "object" && item !== null) {
2488
- lines.push(formatParamsForBlockExample(item, itemPath, argPrefix));
2488
+ lines.push(
2489
+ formatParamsForBlockExample(item, itemPath, argPrefix)
2490
+ );
2489
2491
  } else {
2490
2492
  lines.push(`${argPrefix}${itemPath}`);
2491
2493
  lines.push(String(item));
2492
2494
  }
2493
2495
  });
2494
2496
  } else if (typeof value === "object" && value !== null) {
2495
- lines.push(formatParamsForBlockExample(value, fullPath, argPrefix));
2497
+ lines.push(
2498
+ formatParamsForBlockExample(value, fullPath, argPrefix)
2499
+ );
2496
2500
  } else {
2497
2501
  lines.push(`${argPrefix}${fullPath}`);
2498
2502
  lines.push(String(value));
@@ -2791,7 +2795,11 @@ var init_gadget = __esm({
2791
2795
  }
2792
2796
  parts.push(`${effectiveStartPrefix}${gadgetName}`);
2793
2797
  parts.push(
2794
- formatParamsForBlockExample(example.params, "", effectiveArgPrefix)
2798
+ formatParamsForBlockExample(
2799
+ example.params,
2800
+ "",
2801
+ effectiveArgPrefix
2802
+ )
2795
2803
  );
2796
2804
  parts.push(effectiveEndPrefix);
2797
2805
  if (example.output !== void 0) {
@@ -3448,7 +3456,14 @@ var init_conversation_manager = __esm({
3448
3456
  this.historyBuilder.addAssistant(content);
3449
3457
  }
3450
3458
  addGadgetCallResult(gadgetName, parameters, result, invocationId, media, mediaIds) {
3451
- this.historyBuilder.addGadgetCallResult(gadgetName, parameters, result, invocationId, media, mediaIds);
3459
+ this.historyBuilder.addGadgetCallResult(
3460
+ gadgetName,
3461
+ parameters,
3462
+ result,
3463
+ invocationId,
3464
+ media,
3465
+ mediaIds
3466
+ );
3452
3467
  }
3453
3468
  getMessages() {
3454
3469
  return [...this.baseMessages, ...this.initialMessages, ...this.historyBuilder.build()];
@@ -5492,8 +5507,8 @@ var init_huggingface_models = __esm({
5492
5507
  provider: "huggingface",
5493
5508
  modelId: "deepseek-ai/DeepSeek-V3.2",
5494
5509
  displayName: "DeepSeek V3.2",
5495
- contextWindow: 64e3,
5496
- maxOutputTokens: 8192,
5510
+ contextWindow: 163840,
5511
+ maxOutputTokens: 65536,
5497
5512
  pricing: {
5498
5513
  input: 0.269,
5499
5514
  output: 0.4,
@@ -6222,8 +6237,8 @@ var init_huggingface_models = __esm({
6222
6237
  provider: "huggingface",
6223
6238
  modelId: "MiniMaxAI/MiniMax-M2.1",
6224
6239
  displayName: "MiniMax M2.1",
6225
- contextWindow: 128e3,
6226
- maxOutputTokens: 8192,
6240
+ contextWindow: 204800,
6241
+ maxOutputTokens: 131072,
6227
6242
  pricing: {
6228
6243
  input: 0.3,
6229
6244
  output: 1.2
@@ -6494,7 +6509,13 @@ var GPT_IMAGE_SIZES, GPT_IMAGE_QUALITIES, DALLE3_SIZES, DALLE3_QUALITIES, DALLE2
6494
6509
  var init_openai_image_models = __esm({
6495
6510
  "src/providers/openai-image-models.ts"() {
6496
6511
  "use strict";
6497
- GPT_IMAGE_SIZES = ["1024x1024", "1024x1536", "1536x1024", "1920x1080", "auto"];
6512
+ GPT_IMAGE_SIZES = [
6513
+ "1024x1024",
6514
+ "1024x1536",
6515
+ "1536x1024",
6516
+ "1920x1080",
6517
+ "auto"
6518
+ ];
6498
6519
  GPT_IMAGE_QUALITIES = ["low", "medium", "high"];
6499
6520
  DALLE3_SIZES = ["1024x1024", "1024x1792", "1792x1024"];
6500
6521
  DALLE3_QUALITIES = ["standard", "hd"];