Skip to content

feat(provider): provider management with inline SVG vendor icons#42

Merged
imlinhan merged 6 commits intomainfrom
add_provider_support
May 1, 2026
Merged

feat(provider): provider management with inline SVG vendor icons#42
imlinhan merged 6 commits intomainfrom
add_provider_support

Conversation

@imlinhan
Copy link
Copy Markdown
Collaborator

@imlinhan imlinhan commented May 1, 2026

Summary

  • Add full provider management system (CRUD REST API, backend service, frontend UI)
  • Add quick provider switcher and provider panel to AI Assistant plugin
  • Replace emoji-based provider icons with inline SVG brand logos for all 7 provider types (Anthropic, AWS Bedrock, Google Vertex, DeepSeek, OpenAI, Ollama, Custom)
  • Fix update-frontend.sh: remove *.wasm from rsync excludes (wasm files are real build products); add auto-restore logic for engine_bundle.js / traceconv_bundle.js when switching to a new version directory
  • Update prebuilt frontend to v54.0-afe827ce6

Test plan

  • Start with ./start.sh, open http://localhost:10000
  • Provider panel: add / edit / delete providers, verify SVG icons render correctly for each type
  • Quick switcher: verify trigger button shows provider icon + name, dropdown shows per-row icons
  • Provider form type selection: verify icon cards render for all 7 types
  • Load a trace and run an analysis to confirm the active provider is used
  • cd backend && npm run test:scene-trace-regression — all 6 traces pass

HANLIN added 6 commits May 1, 2026 09:46
- Add provider_icons.ts with inlined SVG for all 7 provider types
  (Anthropic, AWS Bedrock, Google Vertex, DeepSeek, OpenAI, Ollama, Custom)
- Update provider_panel, provider_switcher, provider_form to use
  renderProviderIcon() instead of TYPE_ICONS emoji strings
- Fix update-frontend.sh: remove *.wasm from excludes (wasm files are
  real products of --only-wasm-memory64 builds); add auto-restore logic
  for engine_bundle.js / traceconv_bundle.js when target dir is new
- Update prebuilt frontend to v54.0-afe827ce6
@imlinhan imlinhan merged commit 7369852 into main May 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant