mu-core 0.31.0 → 0.33.0

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/esm/types.d.ts CHANGED
@@ -60,6 +60,10 @@ export interface Provider {
60
60
  messages: Message[];
61
61
  tools: Tool[];
62
62
  signal?: AbortSignal;
63
+ /** Per-turn extra chat-template kwargs (e.g. `{ enable_thinking: false }`). A
64
+ * provider wrapper can set this for a single turn; merged over any provider-level
65
+ * default. Providers that don't support it ignore it. */
66
+ chatTemplateKwargs?: Record<string, unknown>;
63
67
  }): AsyncIterable<StreamEvent>;
64
68
  /**
65
69
  * Probe a model's input modalities. MAY load the model (e.g. a llama.cpp `/props`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mu-core",
3
- "version": "0.31.0",
3
+ "version": "0.33.0",
4
4
  "description": "Standalone multimodal agentic loop: content, messages, tools, provider interface, createAgent",
5
5
  "license": "MIT",
6
6
  "main": "./script/index.js",
package/script/types.d.ts CHANGED
@@ -60,6 +60,10 @@ export interface Provider {
60
60
  messages: Message[];
61
61
  tools: Tool[];
62
62
  signal?: AbortSignal;
63
+ /** Per-turn extra chat-template kwargs (e.g. `{ enable_thinking: false }`). A
64
+ * provider wrapper can set this for a single turn; merged over any provider-level
65
+ * default. Providers that don't support it ignore it. */
66
+ chatTemplateKwargs?: Record<string, unknown>;
63
67
  }): AsyncIterable<StreamEvent>;
64
68
  /**
65
69
  * Probe a model's input modalities. MAY load the model (e.g. a llama.cpp `/props`