gitdataai/libs/service/agent
ZhenYi 7ce113a765 feat(agent): paginated model catalog with pricing + redesigned Add AI panel
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
2026-04-28 23:58:46 +08:00
..
billing.rs fix(service): 修复扣费结果类型处理 2026-04-28 19:59:17 +08:00
code_review.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
issue_triage.rs fix(triage): improve AI issue triage with better prompt and label handling 2026-04-28 13:12:34 +08:00
mod.rs fix(agent/service): retry jitter, tool executor ordering, curl SSRF, grep/JSON 2026-04-25 09:53:31 +08:00
model_capability.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model_parameter_profile.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model_pricing.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model_version.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
model.rs feat(agent): paginated model catalog with pricing + redesigned Add AI panel 2026-04-28 23:58:46 +08:00
pr_summary.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
provider.rs refactor(service): clean up agent modules, use agent crate types 2026-04-25 20:09:45 +08:00
sync.rs refactor(fctool): add descriptions to tools and simplify model sync 2026-04-28 09:43:15 +08:00