openaihub 1.1.18 → 1.1.20
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 +17 -0
- package/package.json +1 -1
- package/runtime/openaihub-windows.zip +0 -0
package/README.md
CHANGED
|
@@ -26,4 +26,21 @@ Or:
|
|
|
26
26
|
OAH
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
What happens after startup:
|
|
30
|
+
|
|
31
|
+
- first choose a mode
|
|
32
|
+
- then enter the main menu
|
|
33
|
+
- the local API gateway starts automatically after the main menu is ready
|
|
34
|
+
|
|
35
|
+
Local API notes:
|
|
36
|
+
|
|
37
|
+
- default listen address: `127.0.0.1`
|
|
38
|
+
- API config lives in `~/.openaihub/local-api.json`
|
|
39
|
+
- API key can be viewed or changed from the `API 配置` menu
|
|
40
|
+
- current endpoints:
|
|
41
|
+
- `GET /v1/models`
|
|
42
|
+
- `POST /v1/chat/completions`
|
|
43
|
+
|
|
44
|
+
The local API follows the current account selected in OpenAI Hub, and can reuse the existing refresh / auto-switch logic.
|
|
45
|
+
|
|
29
46
|
Uninstalling the npm package removes the launcher/runtime entrypoints, but keeps user data in `~/.openaihub` so saved accounts and config are not lost by mistake.
|
package/package.json
CHANGED
|
Binary file
|