mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-11-26 10:06:31 +00:00
feat(admin): group catalog models by kind
Add a display-only kinds map to the provider config. Each pathBaseUrls key now appears in the admin catalog as an endpoint row. The Models page splits a provider into one sub-section per kind.
This commit is contained in:
@@ -698,6 +698,10 @@ export interface AdminCatalogModel {
|
||||
priceSource: PriceSource
|
||||
/** True for a ':free' suffix model (routes_unified.go) — display-only relabeling; billing still follows `priceSource` unchanged. */
|
||||
displayFree?: boolean
|
||||
/** Operator label from the provider's `kinds` map (for example 'reranking'); absent for an ordinary model. */
|
||||
kind?: string
|
||||
/** True for a pseudo-model row built from a `pathBaseUrls` key — not a routable model, never priced. */
|
||||
endpoint?: boolean
|
||||
aliases?: string[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user