@zhivex-ai/gateway 1.0.0 → 1.0.1
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 +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,9 +18,11 @@ For agent routing, the gateway can also filter by `agentCapabilities`, such as p
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
bun add @zhivex-ai/gateway
|
|
21
|
+
bun add @zhivex-ai/gateway @zhivex-ai/openai @zhivex-ai/ollama
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
Install the provider packages used by your own adapter map; OpenAI and Ollama are included above because the example below uses both.
|
|
25
|
+
|
|
24
26
|
## Usage
|
|
25
27
|
|
|
26
28
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhivex-ai/gateway",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Routing and fallback helpers for Zhivex AI SDK.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@zhivex-ai/core": "^0.
|
|
44
|
+
"@zhivex-ai/core": "^1.0.0",
|
|
45
45
|
"zod": "^4.4.3"
|
|
46
46
|
}
|
|
47
47
|
}
|