@tangle-network/sandbox 0.14.0-develop.20260727215658.53efef5 → 0.15.0-develop.20260727223428.e07711c
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/openai/index.js +1 -1
- package/package.json +4 -4
package/dist/openai/index.js
CHANGED
|
@@ -1431,7 +1431,7 @@ function openaiMessagesToSandboxInput(messages, tools, model) {
|
|
|
1431
1431
|
if (!attached) throw new Error(`openaiMessagesToSandboxInput: tool message references unknown tool_call_id ${msg.tool_call_id}`);
|
|
1432
1432
|
break;
|
|
1433
1433
|
}
|
|
1434
|
-
case "function":
|
|
1434
|
+
case "function": throw new Error("openaiMessagesToSandboxInput: the `function` message role is not supported. Convert function-call results to `tool` messages with a tool_call_id (the OpenAI tools API shape).");
|
|
1435
1435
|
}
|
|
1436
1436
|
if (i === lastUserIndex) flushPending();
|
|
1437
1437
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-develop.20260727223428.e07711c",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -127,9 +127,9 @@
|
|
|
127
127
|
"vitest": "^4.1.5",
|
|
128
128
|
"ws": "^8.20.0",
|
|
129
129
|
"yjs": "13.6.30",
|
|
130
|
-
"@
|
|
131
|
-
"@tangle-network/
|
|
132
|
-
"@
|
|
130
|
+
"@tangle-network/cli-agent-registry": "0.3.1",
|
|
131
|
+
"@tangle-network/runtime-contracts": "0.3.1",
|
|
132
|
+
"@repo/shared": "0.0.0"
|
|
133
133
|
},
|
|
134
134
|
"scripts": {
|
|
135
135
|
"build": "node scripts/build-dist.mjs",
|