@opencode-ai/ai
Advanced tools
@@ -237,5 +237,5 @@ import { Schema } from "effect"; | ||
| readonly service_tier?: string | null | undefined; | ||
| readonly incomplete_details?: Schema.Struct.ReadonlySide<{ | ||
| readonly reason: Schema.String; | ||
| }, "Type"> | null | undefined; | ||
| readonly incomplete_details?: { | ||
| readonly reason?: string | undefined; | ||
| } | null | undefined; | ||
| } | undefined; | ||
@@ -242,0 +242,0 @@ readonly message?: string | undefined; |
@@ -197,3 +197,3 @@ import { Effect, Encoding, Schema } from "effect"; | ||
| service_tier: optionalNull(Schema.String), | ||
| incomplete_details: optionalNull(Schema.Struct({ reason: Schema.String })), | ||
| incomplete_details: optionalNull(Schema.Struct({ reason: Schema.optional(Schema.String) })), | ||
| usage: optionalNull(OpenAIResponsesUsage), | ||
@@ -493,3 +493,3 @@ error: optionalNull(OpenAIResponsesErrorPayload), | ||
| if (reason === undefined || reason === null) | ||
| return hasFunctionCall ? "tool-calls" : "stop"; | ||
| return hasFunctionCall ? "tool-calls" : event.type === "response.incomplete" ? "unknown" : "stop"; | ||
| if (reason === "max_output_tokens") | ||
@@ -496,0 +496,0 @@ return "length"; |
+3
-3
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "version": "0.0.0-next-16048", | ||
| "version": "0.0.0-next-16051", | ||
| "name": "@opencode-ai/ai", | ||
@@ -29,3 +29,3 @@ "type": "module", | ||
| "@effect/platform-node": "4.0.0-beta.98", | ||
| "@opencode-ai/http-recorder": "0.0.0-next-16048", | ||
| "@opencode-ai/http-recorder": "0.0.0-next-16051", | ||
| "@tsconfig/bun": "1.0.9", | ||
@@ -39,3 +39,3 @@ "@types/bun": "1.3.13", | ||
| "@smithy/util-utf8": "4.2.2", | ||
| "@opencode-ai/schema": "0.0.0-next-16048", | ||
| "@opencode-ai/schema": "0.0.0-next-16051", | ||
| "aws4fetch": "1.0.20", | ||
@@ -42,0 +42,0 @@ "effect": "4.0.0-beta.98", |
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.
1037590
0+ Added
- Removed