You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bfd170c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(provider): explain a missing base URL for config-only providers (#40 review)
An OpenAI-compatible provider that is not built in and is declared
without `api` or `options.baseURL` now fails with
ProviderBaseURLMissingError and a config fix, instead of an invalid-URL
error from the SDK. ACP reports "no providers" as authRequired. The
no-network tests get explicit timeouts, and the docs describe the
catalog shape and the --attach context limit source.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Want to take on an issue? Leave a comment and a maintainer may assign it to you
26
26
27
27
## Adding New Providers
28
28
29
-
Built-in providers and models live in the static catalog at `packages/cli/src/provider/catalog.json` (one model per line, in the `Provider.Model` shape). To add or update a built-in model, edit that file; providers that need custom loading also need an entry in `CUSTOM_LOADERS` in `packages/cli/src/provider/provider.ts`.
29
+
Built-in providers and models live in the static catalog at `packages/cli/src/provider/catalog.json` (one model per line, in the `Provider.Model` shape; `api.url` is left out for providers whose SDK knows its own endpoint, and each provider also carries `npm`/`api` defaults for models added through config). To add or update a built-in model, edit that file; providers that need custom loading also need an entry in `CUSTOM_LOADERS` in `packages/cli/src/provider/provider.ts`.
30
30
31
31
Any other OpenAI-compatible provider does not need a code change: users define it under `provider` in `aictrl.json`.
Copy file name to clipboardExpand all lines: EVENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@ For compatibility with sessions written before usage provenance was persisted, a
268
268
**`context`** (context-window utilization):
269
269
270
270
-`used` (number) — tokens occupying the model's context window this turn: `input + cache.read + cache.write`.
271
-
-`limit` (number) — the model's total context-window size in tokens, sourced from the provider registry: the built-in model catalog plus `provider` config (`model.limit.context`).
271
+
-`limit` (number) — the model's total context-window size in tokens, sourced from the provider registry: the built-in model catalog plus `provider` config (`model.limit.context`). With `aictrl run --attach`, the attached server's provider registry is used instead.
272
272
-`ratio` (number) — `used / limit` (≥0; may exceed 1 if usage exceeds the model's registered limit). A value approaching or exceeding 1 signals context-exhaustion risk.
273
273
-`null` — emitted when the model's context limit is not known (e.g. unregistered custom endpoint), or usage is missing.
0 commit comments