proxitor 0.9.0-beta.4 → 0.9.0-beta.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 +7 -7
- package/dist/cli.mjs +7940 -8019
- package/dist/cli.mjs.map +1 -1
- package/dist/prompt.mjs +3 -3
- package/dist/prompt.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ openrouterBaseUrl: 'https://custom-service.example.com/api'
|
|
|
140
140
|
# openrouterDataUrl: 'https://openrouter.ai/api'
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
When a fallback occurs, proxitor logs a warning: `Custom API did not return providers, using OpenRouter
|
|
143
|
+
When a fallback occurs, proxitor logs a warning: `Custom API did not return providers, using OpenRouter as fallback`.
|
|
144
144
|
|
|
145
145
|
### Provider routing
|
|
146
146
|
|
|
@@ -288,13 +288,13 @@ cacheControlTtl: 1h
|
|
|
288
288
|
# Force caching for all models (may cause 400 on non-Anthropic /v1/chat/completions)
|
|
289
289
|
# cacheControl: always
|
|
290
290
|
|
|
291
|
-
# Per-model overrides — TTL supports '5m', '1h', or
|
|
291
|
+
# Per-model overrides — TTL supports '5m', '1h', or null (cancel global TTL)
|
|
292
292
|
modelOverrides:
|
|
293
293
|
"gpt-*":
|
|
294
294
|
cacheControl: never # OpenAI caches automatically, no injection needed
|
|
295
295
|
sessionId: always # but sticky routing still helps
|
|
296
296
|
"claude-opus-*":
|
|
297
|
-
cacheControlTtl:
|
|
297
|
+
cacheControlTtl: null # cancel global 1h TTL for Opus — use Anthropic's 5 min default
|
|
298
298
|
```
|
|
299
299
|
|
|
300
300
|
**Why all three matter:**
|
|
@@ -485,7 +485,7 @@ $ proxitor doctor
|
|
|
485
485
|
│ ✓ port-8828 — 127.0.0.1:8828
|
|
486
486
|
│
|
|
487
487
|
◇ Version
|
|
488
|
-
│ ✓ version — 0.9.0-beta.
|
|
488
|
+
│ ✓ version — 0.9.0-beta.5
|
|
489
489
|
|
|
490
490
|
└ Done. All checks passed.
|
|
491
491
|
```
|
|
@@ -508,7 +508,7 @@ proxitor start # same as above
|
|
|
508
508
|
proxitor up # alias for start
|
|
509
509
|
proxitor run # alias for start
|
|
510
510
|
proxitor --port 9000 # override port
|
|
511
|
-
proxitor ./team.yaml
|
|
511
|
+
proxitor --config ./team.yaml # use an explicit config
|
|
512
512
|
proxitor config show # print the resolved config
|
|
513
513
|
proxitor config show --json # machine-readable config
|
|
514
514
|
proxitor config list --json # overrides as JSON
|
|
@@ -524,8 +524,8 @@ proxitor --version # print version
|
|
|
524
524
|
| Flag | Default | Description |
|
|
525
525
|
|---|---|---|
|
|
526
526
|
| `-p, --port <port>` | `8828` | Server port (validated: 1-65535) |
|
|
527
|
-
|
|
|
528
|
-
| `-c, --config <path>` | auto-discovered | Path to config file
|
|
527
|
+
| `--host <host>` | `0.0.0.0` | Server host |
|
|
528
|
+
| `-c, --config <path>` | auto-discovered | Path to config file |
|
|
529
529
|
| `--openrouter-key <key>` / `-k <key>` | `$OPENROUTER_API_KEY` | OpenRouter API key |
|
|
530
530
|
| `--verbose` | `false` | Enable verbose logging |
|
|
531
531
|
| `--no-config` | | Skip config file discovery |
|