You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: client-sdks/stainless/openapi.yml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7032,6 +7032,11 @@ components:
7032
7032
model_type:
7033
7033
$ref: '#/components/schemas/ModelType'
7034
7034
default: llm
7035
+
model_validation:
7036
+
anyOf:
7037
+
- type: boolean
7038
+
- type: 'null'
7039
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
7035
7040
type: object
7036
7041
required:
7037
7042
- identifier
@@ -12022,6 +12027,11 @@ components:
12022
12027
- type: 'null'
12023
12028
description: The type of model to register.
12024
12029
title: ModelType
12030
+
model_validation:
12031
+
anyOf:
12032
+
- type: boolean
12033
+
- type: 'null'
12034
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
Copy file name to clipboardExpand all lines: docs/static/deprecated-llama-stack-spec.yaml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3576,6 +3576,11 @@ components:
3576
3576
model_type:
3577
3577
$ref: '#/components/schemas/ModelType'
3578
3578
default: llm
3579
+
model_validation:
3580
+
anyOf:
3581
+
- type: boolean
3582
+
- type: 'null'
3583
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
3579
3584
type: object
3580
3585
required:
3581
3586
- identifier
@@ -8566,6 +8571,11 @@ components:
8566
8571
- type: 'null'
8567
8572
description: The type of model to register.
8568
8573
title: ModelType
8574
+
model_validation:
8575
+
anyOf:
8576
+
- type: boolean
8577
+
- type: 'null'
8578
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
Copy file name to clipboardExpand all lines: docs/static/experimental-llama-stack-spec.yaml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3685,6 +3685,11 @@ components:
3685
3685
model_type:
3686
3686
$ref: '#/components/schemas/ModelType'
3687
3687
default: llm
3688
+
model_validation:
3689
+
anyOf:
3690
+
- type: boolean
3691
+
- type: 'null'
3692
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
3688
3693
type: object
3689
3694
required:
3690
3695
- identifier
@@ -8646,6 +8651,11 @@ components:
8646
8651
- type: 'null'
8647
8652
description: The type of model to register.
8648
8653
title: ModelType
8654
+
model_validation:
8655
+
anyOf:
8656
+
- type: boolean
8657
+
- type: 'null'
8658
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
Copy file name to clipboardExpand all lines: docs/static/llama-stack-spec.yaml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5453,6 +5453,11 @@ components:
5453
5453
model_type:
5454
5454
$ref: '#/components/schemas/ModelType'
5455
5455
default: llm
5456
+
model_validation:
5457
+
anyOf:
5458
+
- type: boolean
5459
+
- type: 'null'
5460
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
5456
5461
type: object
5457
5462
required:
5458
5463
- identifier
@@ -10425,6 +10430,11 @@ components:
10425
10430
- type: 'null'
10426
10431
description: The type of model to register.
10427
10432
title: ModelType
10433
+
model_validation:
10434
+
anyOf:
10435
+
- type: boolean
10436
+
- type: 'null'
10437
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
Copy file name to clipboardExpand all lines: docs/static/stainless-llama-stack-spec.yaml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7032,6 +7032,11 @@ components:
7032
7032
model_type:
7033
7033
$ref: '#/components/schemas/ModelType'
7034
7034
default: llm
7035
+
model_validation:
7036
+
anyOf:
7037
+
- type: boolean
7038
+
- type: 'null'
7039
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
7035
7040
type: object
7036
7041
required:
7037
7042
- identifier
@@ -12022,6 +12027,11 @@ components:
12022
12027
- type: 'null'
12023
12028
description: The type of model to register.
12024
12029
title: ModelType
12030
+
model_validation:
12031
+
anyOf:
12032
+
- type: boolean
12033
+
- type: 'null'
12034
+
description: Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.
description="Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.",
72
+
)
69
73
70
74
@field_validator("provider_resource_id")
71
75
@classmethod
@@ -134,6 +138,10 @@ class RegisterModelRequest(BaseModel):
134
138
provider_id: str|None=Field(default=None, description="The identifier of the provider.")
135
139
metadata: dict[str, Any] |None=Field(default=None, description="Any additional metadata for this model.")
136
140
model_type: ModelType|None=Field(default=None, description="The type of model to register.")
141
+
model_validation: bool|None=Field(
142
+
default=None,
143
+
description="Enable model availability check during registration. When false (default), validation is deferred to runtime and model is preserved during provider refresh.",
0 commit comments