Backend:
- New GET /api/agents/models/catalog endpoint with page/per_page/search
params, excludes deprecated models, returns pricing data via
model→version→pricing join
- ModelWithPricingResponse includes input_price, output_price, currency
- ModelListResponse with pagination metadata (total, page, per_page)
- Batch-fetches default versions + latest pricing to avoid N+1
Frontend:
- RoomSettingsPanel: replace Dialog with inline two-step panel
- Step 1: paginated model browser with search, shows context length,
max output tokens, pricing per 1K tokens, capability/modality badges
- Step 2: selected model info card + AI configuration form
- Removed Dialog import and related unused dependencies
|
||
|---|---|---|
| .. | ||
| agent | ||
| chat | ||
| client | ||
| compact | ||
| embed | ||
| model | ||
| perception | ||
| react | ||
| skills | ||
| task | ||
| tool | ||
| billing.rs | ||
| Cargo.toml | ||
| error.rs | ||
| lib.rs | ||
| sync.rs | ||
| tokent.rs | ||