feat: complete TASK-WP2-06 generation terminal states
This commit is contained in:
@@ -2402,6 +2402,16 @@
|
||||
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$",
|
||||
"type": "string"
|
||||
},
|
||||
"error_category": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/GenerationErrorCategory"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"generation_id": {
|
||||
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
|
||||
"type": "string"
|
||||
@@ -2426,6 +2436,14 @@
|
||||
"ratio": {
|
||||
"$ref": "#/components/schemas/ProjectRatio"
|
||||
},
|
||||
"reference_asset_ids": {
|
||||
"items": {
|
||||
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 16,
|
||||
"type": "array"
|
||||
},
|
||||
"reference_count": {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
@@ -2445,12 +2463,14 @@
|
||||
"required": [
|
||||
"confirmed_credit_cost",
|
||||
"created_at",
|
||||
"error_category",
|
||||
"generation_id",
|
||||
"model_config_version",
|
||||
"model_id",
|
||||
"project_id",
|
||||
"prompt",
|
||||
"ratio",
|
||||
"reference_asset_ids",
|
||||
"reference_count",
|
||||
"reserved_credits",
|
||||
"status",
|
||||
|
||||
Reference in New Issue
Block a user