hanzoai 2.0.7 → 2.0.8

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,8 +6,9 @@ The official TypeScript client for the [Hanzo Cloud API](https://api.hanzo.ai)
6
6
  AI inference plus every `/v1/<service>` product, in one install.
7
7
 
8
8
  Generated from [`hanzoai/openapi`](https://github.com/hanzoai/openapi)'s
9
- `hanzo.yaml`: **2452 operations, 1798 schemas**. Never hand-written, so the
10
- client cannot describe a route the server does not serve.
9
+ `hanzo.yaml` — the same document the API serves at
10
+ [`/v1/openapi.json`](https://api.hanzo.ai/v1/openapi.json). Never hand-written,
11
+ so the client cannot describe a route the server does not serve.
11
12
 
12
13
  ## Install
13
14
 
@@ -41,7 +42,7 @@ const ai = new OpenAICompatibleApi(
41
42
 
42
43
  const { data } = await ai.aiCreateChatCompletion({
43
44
  aiChatCompletionRequest: {
44
- model: 'zen4',
45
+ model: 'zen5',
45
46
  messages: [{ role: 'user', content: 'Say hello in exactly five words.' }],
46
47
  },
47
48
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanzoai",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "The official TypeScript library for the Hanzo API",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "Apache-2.0",