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
|
||
|---|---|---|
| .. | ||
| code_review.rs | ||
| issue_triage.rs | ||
| mod.rs | ||
| model_capability.rs | ||
| model_parameter_profile.rs | ||
| model_pricing.rs | ||
| model_version.rs | ||
| model.rs | ||
| pr_summary.rs | ||
| provider.rs | ||