Add Message Metadata for Visibility Control (#4538)
This commit is contained in:
@@ -2562,6 +2562,9 @@
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"metadata": {
|
||||
"$ref": "#/components/schemas/MessageMetadata"
|
||||
},
|
||||
"role": {
|
||||
"$ref": "#/components/schemas/Role"
|
||||
}
|
||||
@@ -2785,6 +2788,20 @@
|
||||
"propertyName": "type"
|
||||
}
|
||||
},
|
||||
"MessageMetadata": {
|
||||
"type": "object",
|
||||
"description": "Metadata for message visibility",
|
||||
"properties": {
|
||||
"agentVisible": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the message should be included in the agent's context window"
|
||||
},
|
||||
"userVisible": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the message should be visible to the user in the UI"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ModelInfo": {
|
||||
"type": "object",
|
||||
"description": "Information about a model's capabilities",
|
||||
|
||||
Reference in New Issue
Block a user