Files
new-api/common
t0ng7u bf577b8937 🔌 feat(api): extend endpoint type support & expose in pricing UI
* backend
  - constant/endpoint_type.go
    • Add EndpointTypeMidjourney, EndpointTypeSuno, EndpointTypeKling, EndpointTypeJimeng.
  - common/endpoint_type.go
    • Map Midjourney / MidjourneyPlus, SunoAPI, Kling, Jimeng channel types to the new endpoint types.

* frontend
  - ModelPricing.js
    • Add “Supported Endpoint Type” column.
    • Implement renderSupportedEndpoints with `stringToColor` for consistent tag colors.

These changes allow `/api/pricing` and model lists to return accurate
`supported_endpoint_types` covering all non-OpenAI providers and display
them clearly in the UI.

No breaking changes.
2025-07-04 03:15:34 +08:00
..
2025-03-12 21:31:46 +08:00
2023-04-22 20:39:27 +08:00
2024-07-07 02:24:51 +08:00
2025-06-25 18:42:19 +08:00
2023-11-21 18:11:07 +08:00
2023-04-22 20:39:27 +08:00
2024-12-24 20:46:02 +08:00
2024-06-27 19:30:17 +08:00
2023-04-22 20:39:27 +08:00
2023-04-22 20:39:27 +08:00