feat: configure catalog token pricing
This commit is contained in:
1 parent
4e09dfa0e0
commit
05ed1fc9a4
5 files changed
+299
-8
No files matched your search
@@ -29,7 +29,17 @@ export interface CatalogModel {
|
||||
inputTypes: string[]
|
||||
outputTypes: string[]
|
||||
capabilities: Record<string, unknown>
|
||||
pricing?: { input?: number; output?: number; cachedInput?: number; unit?: string }
|
||||
pricing?: {
|
||||
input?: number
|
||||
output?: number
|
||||
cachedInput?: number
|
||||
unit?: string
|
||||
discount?: number
|
||||
discountLabel?: string
|
||||
exchangeRate?: number
|
||||
priceSource?: string
|
||||
listPriceUsd?: { input?: number; output?: number; cachedInput?: number }
|
||||
}
|
||||
priority?: number
|
||||
maxConcurrency?: number
|
||||
status: 'active' | 'disabled'
|
||||
|
||||
Reference in new issue
Block a user