@opencode-ai/models 0.0.4 → 0.0.6
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/README.md +2 -2
- package/dist/snapshot.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ await client.providers({ signal: AbortSignal.timeout(5000) })
|
|
|
36
36
|
|
|
37
37
|
Errors are a single `ModelsDevError` with `reason: "Transport" | "UnexpectedStatus" | "MalformedResponse"` and the underlying `cause`.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
### Snapshot
|
|
40
40
|
|
|
41
41
|
A full copy of the database ships inside the package as a separate, tree-shakable entrypoint:
|
|
42
42
|
|
|
@@ -54,7 +54,7 @@ const providers = await client.providers().catch(async () => (await import("@ope
|
|
|
54
54
|
|
|
55
55
|
The published snapshot is at most ~24h behind the live API (data releases are automated).
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
### Effect
|
|
58
58
|
|
|
59
59
|
An Effect-native client lives at `@opencode-ai/models/effect` (requires the optional peer dependency `effect`):
|
|
60
60
|
|