@certalis/agent-smith 0.1.3 → 0.1.5
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 +4 -1
- package/dist/bin.js +359 -108
- package/dist/post-processor.worker.js +79 -13
- package/dist/server.js +347 -96
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,7 +93,8 @@ The config file is JSON, read at startup from:
|
|
|
93
93
|
on macOS and Linux,
|
|
94
94
|
- or the path in `ccflare_CONFIG_PATH`.
|
|
95
95
|
|
|
96
|
-
Restart agent-smith after changing `providers` or
|
|
96
|
+
Restart agent-smith after changing `providers`, `provider_pools`, `alerts` or
|
|
97
|
+
`block_when_all_full`.
|
|
97
98
|
|
|
98
99
|
| Key | What it does |
|
|
99
100
|
|---|---|
|
|
@@ -103,6 +104,8 @@ Restart agent-smith after changing `providers` or `provider_pools`.
|
|
|
103
104
|
| `providers.<name>.models` | The models a provider serves, as `"client model": "provider model"`. A trailing `*` matches a prefix. Without it, the provider serves every model name unchanged. |
|
|
104
105
|
| `provider_pools.<protocol>` | The ordered providers for `anthropic-messages` or `openai-responses`. Clients reach it at `/v1/pool/<protocol>/*`, and the local wrappers use it automatically. |
|
|
105
106
|
| `team_routing` | Which subscription accounts may share a pool, and their usage caps. See the [configuration guide](docs/configuration.md#team-routing). |
|
|
107
|
+
| `alerts` | A Slack webhook or bot token and/or an email address that hear when a seat spends extra usage and when every account is full. A filled value turns its channel on. See [Alerts](docs/configuration.md#alerts). |
|
|
108
|
+
| `block_when_all_full` | `true` by default: when every account is full, every request is refused until the soonest reset, so none spends extra usage. |
|
|
106
109
|
|
|
107
110
|
Every key, the environment variables and the HTTP API are in the
|
|
108
111
|
[configuration guide](docs/configuration.md).
|