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