feat: 补齐生成模型目录前端类型
This commit is contained in:
1 parent
8e402e2846
commit
2d690548e3
1 file changed
+4
@@ -18,6 +18,8 @@ export interface GenerationOptionSchema {
|
|||||||
max?: number
|
max?: number
|
||||||
specialValues?: GenerationOptionChoice[]
|
specialValues?: GenerationOptionChoice[]
|
||||||
providerDefault?: GenerationOptionValue
|
providerDefault?: GenerationOptionValue
|
||||||
|
userEditable?: boolean
|
||||||
|
source?: 'provider' | 'project'
|
||||||
description?: string
|
description?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,6 +34,8 @@ export interface GenerationModelItem {
|
|||||||
isDefault: boolean
|
isDefault: boolean
|
||||||
capabilities: Record<string, unknown>
|
capabilities: Record<string, unknown>
|
||||||
generationOptions: GenerationOptionSchema[]
|
generationOptions: GenerationOptionSchema[]
|
||||||
|
defaults: GenerationOptions
|
||||||
|
projectConstraints: GenerationOptionSchema[]
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenerationModelCatalog {
|
export interface GenerationModelCatalog {
|
||||||
|
|||||||
Reference in new issue
Block a user