@pushwoosh/rpc-gateway-ai-assistant 0.1.281 → 0.1.282

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/data.js CHANGED
@@ -102,6 +102,9 @@ export const data = {
102
102
  },
103
103
  "inputSchemaJson": {
104
104
  "type": "string"
105
+ },
106
+ "deferred": {
107
+ "type": "boolean"
105
108
  }
106
109
  }
107
110
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.281",
3
+ "version": "0.1.282",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -61,6 +61,11 @@ export type ToolDef = {
61
61
  name: string;
62
62
  description: string;
63
63
  inputSchemaJson: string;
64
+ /**
65
+ * Keep the schema out of the cached prompt prefix; the model reaches it through ToolSearch.
66
+ * False = pinned, so a caller that never sets it gets today's behaviour.
67
+ */
68
+ deferred: boolean;
64
69
  };
65
70
  export type ToolCall = {
66
71
  id: string;