smoltalk 0.15.2 → 0.16.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/dist/types.d.ts CHANGED
@@ -119,6 +119,12 @@ export type SmolConfig = {
119
119
  strict: boolean;
120
120
  numRetries: number;
121
121
  allowExtraKeys: boolean;
122
+ /** Local providers (`mlx`, `llama-cpp`) cannot enforce a schema on a
123
+ * request that carries tools, so a call with both is made as two
124
+ * requests: the tool round first, then the reply in the schema. Set
125
+ * this to `false` to send one request and leave the schema unenforced.
126
+ * Defaults to `true`. Google always makes two requests. */
127
+ separateFromTools: boolean;
122
128
  }>;
123
129
  /** Arbitrary provider-specific attributes passed directly to the underlying API call. */
124
130
  rawAttributes?: Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoltalk",
3
- "version": "0.15.2",
3
+ "version": "0.16.0",
4
4
  "description": "A common interface for LLM APIs",
5
5
  "homepage": "https://github.com/egonSchiele/smoltalk",
6
6
  "files": [