@opencode/ai 0.0.0-dev-400 → 0.0.0-dev-408
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/provider-error.js +2 -0
- package/package.json +3 -3
package/dist/provider-error.js
CHANGED
|
@@ -29,6 +29,8 @@ const patterns = [
|
|
|
29
29
|
// Hugging Face Text Generation Inference, e.g. Together
|
|
30
30
|
/`inputs` tokens \+ `max_new_tokens` must be <= \d+/i,
|
|
31
31
|
/context window exceeds limit/i,
|
|
32
|
+
// LiteLLM's ContextWindowExceededError
|
|
33
|
+
/context window exceeded/i,
|
|
32
34
|
/exceeded model token limit/i,
|
|
33
35
|
/context[_ ]length[_ ]exceeded/i,
|
|
34
36
|
/context length is only \d+ tokens/i,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-408",
|
|
4
4
|
"name": "@opencode/ai",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"devDependencies": {
|
|
521
521
|
"@clack/prompts": "1.0.0-alpha.1",
|
|
522
522
|
"@effect/platform-node": "4.0.6",
|
|
523
|
-
"@opencode/http-recorder": "0.0.0-dev-
|
|
523
|
+
"@opencode/http-recorder": "0.0.0-dev-408",
|
|
524
524
|
"@tsconfig/bun": "1.0.9",
|
|
525
525
|
"@types/bun": "1.4.3",
|
|
526
526
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
"@aws-sdk/credential-providers": "3.1057.0",
|
|
531
531
|
"@smithy/eventstream-codec": "4.2.14",
|
|
532
532
|
"@smithy/util-utf8": "4.2.2",
|
|
533
|
-
"@opencode/schema": "0.0.0-dev-
|
|
533
|
+
"@opencode/schema": "0.0.0-dev-408",
|
|
534
534
|
"aws4fetch": "1.0.20",
|
|
535
535
|
"effect": "4.0.6",
|
|
536
536
|
"google-auth-library": "10.5.0"
|