@anjieyang/uncommon-route 0.2.8 → 0.2.9
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 +5 -0
- package/package.json +1 -1
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<p align="right"><strong>English</strong> | <a href="https://github.com/anjieyang/UncommonRoute/blob/main/README.zh-CN.md">简体中文</a></p>
|
|
2
|
+
|
|
1
3
|
# @anjieyang/uncommon-route
|
|
2
4
|
|
|
3
5
|
OpenClaw plugin for [UncommonRoute](https://github.com/anjieyang/UncommonRoute), the local LLM router that sends easy requests to cheaper models and saves stronger models for harder work.
|
|
@@ -49,12 +51,15 @@ Common upstream choices:
|
|
|
49
51
|
|
|
50
52
|
| Provider | URL |
|
|
51
53
|
|---|---|
|
|
54
|
+
| [Parallax](https://github.com/GradientHQ/parallax) | `http://127.0.0.1:3001/v1` |
|
|
52
55
|
| [Commonstack](https://commonstack.ai) | `https://api.commonstack.ai/v1` |
|
|
53
56
|
| OpenAI | `https://api.openai.com/v1` |
|
|
54
57
|
| Local Ollama / vLLM | `http://127.0.0.1:11434/v1` |
|
|
55
58
|
|
|
56
59
|
If your upstream needs a key, set `UNCOMMON_ROUTE_API_KEY` in the environment where OpenClaw runs.
|
|
57
60
|
|
|
61
|
+
Parallax is best treated as an experimental local upstream for now: its public docs show `POST /v1/chat/completions`, but UncommonRoute model discovery may be limited because a public `/v1/models` route was not obvious in the repo.
|
|
62
|
+
|
|
58
63
|
## What You Get
|
|
59
64
|
|
|
60
65
|
- `uncommon-route/auto` for balanced smart routing
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { spawn, execSync } from "node:child_process";
|
|
17
17
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
18
18
|
|
|
19
|
-
const VERSION = "0.2.
|
|
19
|
+
const VERSION = "0.2.9";
|
|
20
20
|
const DEFAULT_PORT = 8403;
|
|
21
21
|
const DEFAULT_UPSTREAM = "";
|
|
22
22
|
const HEALTH_TIMEOUT_MS = 15_000;
|