mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-15 23:32:46 +00:00
Fabro's policy layer restated the lithos built-ins under `metadata.fabro`: enabled flags, credentials, display facts, probe and small-default roles, and agent profiles. lithos-llm now carries every one of those as a core field or under the shared `metadata.agent` namespace, so the layer and its typed view go: - Delete `fabro-policy.toml` and `FABRO_POLICY_TOML`. The catalog is the lithos built-ins plus the operator's `[llm]` overlay, nothing between. - Delete `fabro_types::catalog_policy`. `enabled`, `stands_in_for`, `api_key_url`, `family`, the cutoffs, `estimated_output_tps`, `small_default`, and `probe` are read from lithos accessors; the agent profile and `reasoning_by_default` come from `metadata.agent`, which Pebble reads too. - `catalog::provider`, `enabled_providers`, and `listed_providers` return the lithos `CatalogProvider` directly; `ModelEntry` loses its policy field and gains `agent_profile()`. - Test fixtures move `[providers.x.metadata.fabro] enabled = true` onto the provider table, drop `credentials` lists in favor of the secret name lithos derives from the provider id, and spell `agent_profile` as `metadata.agent.profile`. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||