| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| README.md | ||
| api_type.go | ||
| azure.go | ||
| cache_key.go | ||
| channel.go | ||
| channel_setting.go | ||
| context_key.go | ||
| endpoint_type.go | ||
| env.go | ||
| finish_reason.go | ||
| midjourney.go | ||
| setup.go | ||
| task.go | ||
| user_setting.go |
* 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.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| README.md | Loading commit data... | |
| api_type.go | Loading commit data... | |
| azure.go | Loading commit data... | |
| cache_key.go | Loading commit data... | |
| channel.go | Loading commit data... | |
| channel_setting.go | Loading commit data... | |
| context_key.go | Loading commit data... | |
| endpoint_type.go | Loading commit data... | |
| env.go | Loading commit data... | |
| finish_reason.go | Loading commit data... | |
| midjourney.go | Loading commit data... | |
| setup.go | Loading commit data... | |
| task.go | Loading commit data... | |
| user_setting.go | Loading commit data... |