feat(admin): curated model catalog with provider logos#393
Merged
Conversation
Adds a curated model catalog landing page so admins can one-click add fully-configured Bedrock models (Claude Haiku/Sonnet/Opus 4.x) with pricing, modalities, and per-param specs already filled in. The "Add" flow opens a role-picker dialog for per-deployment role IDs before POSTing; "Preview & customize" hands the template to the model form via a prefill service. The list-page "Add model" CTA now routes through the catalog. Each card carries a light/dark provider logo (Anthropic, Amazon, Meta, OpenAI) for brand recognition; OpenAI/Gemini tabs render a "Coming soon" empty state until curated entries land. Documents the @angular/cdk/dialog conventions used here in the frontend CLAUDE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The provider logo folder was renamed from open-aI to openai; update the PROVIDER_LOGO_DIR mapping so the OpenAI tile resolves once curated OpenAI entries land. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…rams Replaces the placeholder inference-profile ID with the real `global.anthropic.claude-opus-4-7` alias and corrects pricing to the actual $5/$25 per 1M tokens (cache $6.25 write / $0.5 read). Narrows the supported-params surface to `max_tokens` + `effort` — Opus 4.7 exposes effort control instead of explicit thinking/temperature/top_* knobs. Drops the now-obsolete TODO comment. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/admin/manage-models/catalog) with one-click add for Bedrock Claude 4.x models — pricing, modalities, and per-param specs already filled in. OpenAI/Gemini tabs show a "Coming soon" empty state until curated entries land.AddCuratedModelDialogComponent) for per-deployment role IDs before POSTing; "Preview & customize" hands the template to the model form viaCuratedModelPrefillService. The list-page "Add model" CTA now routes through the catalog instead of jumping straight to the blank form.dark:hidden/hidden dark:block. Unknown providers degrade gracefully (no tile).@angular/cdk/dialogconventions used here infrontend/ai.client/.claude/CLAUDE.mdso future dialogs match.Test plan
cd frontend/ai.client && npm test -- model-catalog— existing 11 unit specs pass (template-overridden, cover tab default, prefill handoff, role-picker dialog, error inline, concurrent-add guard)./admin/manage-modelsand confirm "Add model" CTA routes to/admin/manage-models/catalog.🤖 Generated with Claude Code