Update api spec (#406)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2025-03-31 17:14:58 -07:00
committed by GitHub
parent 7663ef0a1a
commit ebcc2ff650
4 changed files with 1064 additions and 1036 deletions

File diff suppressed because it is too large Load Diff

View File

@ -305,12 +305,16 @@ class OptionTextToCadMultiFileIteration(BaseModel):
id: Uuid id: Uuid
kcl_version: Optional[str] = None
model: TextToCadModel model: TextToCadModel
model_version: str model_version: str
outputs: Optional[Dict[str, str]] = None outputs: Optional[Dict[str, str]] = None
project_name: Optional[str] = None
prompt: Optional[str] = None prompt: Optional[str] = None
source_ranges: List[SourceRangePrompt] source_ranges: List[SourceRangePrompt]

View File

@ -23,12 +23,16 @@ class TextToCadMultiFileIteration(BaseModel):
id: Uuid id: Uuid
kcl_version: Optional[str] = None
model: TextToCadModel model: TextToCadModel
model_version: str model_version: str
outputs: Optional[Dict[str, str]] = None outputs: Optional[Dict[str, str]] = None
project_name: Optional[str] = None
prompt: Optional[str] = None prompt: Optional[str] = None
source_ranges: List[SourceRangePrompt] source_ranges: List[SourceRangePrompt]

View File

@ -16621,6 +16621,11 @@
} }
] ]
}, },
"kcl_version": {
"nullable": true,
"description": "The version of kcl to use. If empty, the latest version will be used.",
"type": "string"
},
"model": { "model": {
"description": "The model being used.", "description": "The model being used.",
"allOf": [ "allOf": [
@ -16640,6 +16645,11 @@
"type": "string" "type": "string"
} }
}, },
"project_name": {
"nullable": true,
"description": "The project name. This is used to tie the prompt to a project. Which helps us make our models better over time.",
"type": "string"
},
"prompt": { "prompt": {
"nullable": true, "nullable": true,
"description": "The prompt for the overall changes. This is optional if you only want changes on specific source ranges. This will apply to all the files.", "description": "The prompt for the overall changes. This is optional if you only want changes on specific source ranges. This will apply to all the files.",
@ -31574,6 +31584,11 @@
} }
] ]
}, },
"kcl_version": {
"nullable": true,
"description": "The version of kcl to use. If empty, the latest version will be used.",
"type": "string"
},
"model": { "model": {
"description": "The model being used.", "description": "The model being used.",
"allOf": [ "allOf": [
@ -31593,6 +31608,11 @@
"type": "string" "type": "string"
} }
}, },
"project_name": {
"nullable": true,
"description": "The project name. This is used to tie the prompt to a project. Which helps us make our models better over time.",
"type": "string"
},
"prompt": { "prompt": {
"nullable": true, "nullable": true,
"description": "The prompt for the overall changes. This is optional if you only want changes on specific source ranges. This will apply to all the files.", "description": "The prompt for the overall changes. This is optional if you only want changes on specific source ranges. This will apply to all the files.",