@opencode-ai/ai
Advanced tools
@@ -847,5 +847,6 @@ import { Buffer } from "node:buffer"; | ||
| const toolChoice = tools === undefined || !request.toolChoice ? undefined : yield* lowerToolChoice(request.toolChoice); | ||
| const system = request.system.length === 0 | ||
| const systemParts = request.system.filter((part) => part.text.length > 0); | ||
| const system = systemParts.length === 0 | ||
| ? undefined | ||
| : request.system.map((part) => ({ | ||
| : systemParts.map((part) => ({ | ||
| type: "text", | ||
@@ -852,0 +853,0 @@ text: part.text, |
+3
-3
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "version": "0.0.0-dev-18700", | ||
| "version": "0.0.0-dev-18701", | ||
| "name": "@opencode-ai/ai", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
| "@effect/platform-node": "4.0.0-rc.112", | ||
| "@opencode-ai/http-recorder": "0.0.0-dev-18700", | ||
| "@opencode-ai/http-recorder": "0.0.0-dev-18701", | ||
| "@tsconfig/bun": "1.0.9", | ||
@@ -43,3 +43,3 @@ "@types/bun": "1.3.13", | ||
| "@smithy/util-utf8": "4.2.2", | ||
| "@opencode-ai/schema": "0.0.0-dev-18700", | ||
| "@opencode-ai/schema": "0.0.0-dev-18701", | ||
| "aws4fetch": "1.0.20", | ||
@@ -46,0 +46,0 @@ "effect": "4.0.0-rc.112", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1545897
035644
0+ Added
- Removed