Chat bottom menu bar token and tools alerts (#2146)

Co-authored-by: Lily Delalande <119957291+lily-de@users.noreply.github.com>
This commit is contained in:
Zane 2025-04-18 10:43:50 -07:00 committed by GitHub
parent f850db1847
commit e859ad1115
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 560 additions and 65 deletions

View file

@ -669,6 +669,25 @@
}
}
},
"ModelInfo": {
"type": "object",
"description": "Information about a model's capabilities",
"required": [
"name",
"context_limit"
],
"properties": {
"context_limit": {
"type": "integer",
"description": "The maximum context length this model supports",
"minimum": 0
},
"name": {
"type": "string",
"description": "The name of the model"
}
}
},
"PermissionConfirmationRequest": {
"type": "object",
"required": [
@ -759,9 +778,9 @@
"known_models": {
"type": "array",
"items": {
"type": "string"
"$ref": "#/components/schemas/ModelInfo"
},
"description": "A list of currently known models\nTODO: eventually query the apis directly"
"description": "A list of currently known models with their capabilities\nTODO: eventually query the apis directly"
},
"model_doc_link": {
"type": "string",