Surface resolved Databricks model metadata (#9206)
Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
+33
-1
@@ -5799,6 +5799,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"InferenceMetadata": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"provider",
|
||||
"requestedModel"
|
||||
],
|
||||
"properties": {
|
||||
"provider": {
|
||||
"type": "string"
|
||||
},
|
||||
"requestedModel": {
|
||||
"type": "string"
|
||||
},
|
||||
"resolvedModel": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"InspectJobResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6394,7 +6413,7 @@
|
||||
},
|
||||
"MessageMetadata": {
|
||||
"type": "object",
|
||||
"description": "Metadata for message visibility",
|
||||
"description": "Metadata for message visibility and model inference details",
|
||||
"required": [
|
||||
"userVisible",
|
||||
"agentVisible"
|
||||
@@ -6404,6 +6423,14 @@
|
||||
"type": "boolean",
|
||||
"description": "Whether the message should be included in the agent's context window"
|
||||
},
|
||||
"inference": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/InferenceMetadata"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
},
|
||||
"userVisible": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the message should be visible to the user in the UI"
|
||||
@@ -6587,6 +6614,11 @@
|
||||
"type": "boolean",
|
||||
"description": "Whether this model supports reasoning/thinking controls"
|
||||
},
|
||||
"resolved_model": {
|
||||
"type": "string",
|
||||
"description": "The underlying model resolved from provider metadata, when the configured model is an alias or endpoint.",
|
||||
"nullable": true
|
||||
},
|
||||
"supports_cache_control": {
|
||||
"type": "boolean",
|
||||
"description": "Whether this model supports cache control",
|
||||
|
||||
Reference in New Issue
Block a user