remove prediction from config_schema.json

This commit is contained in:
Dallin Romney 2024-11-07 09:18:34 -08:00
parent b3b7b5b9ca
commit 0e166fcf32

View file

@ -65,57 +65,6 @@
"title": "Ollama keep_alive",
"description": "The number of seconds after no requests are made to unload the model from memory. Defaults to 60*30 = 30min",
"type": "integer"
},
"prediction": {
"title": "Prediction",
"description": "(gpt-4o/gpt-4o-mini only) Prediction output which can greatly improve response times when large parts of the model response are known ahead of time. This is most common when you are regenerating a file with only minor changes to most of the content.",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"content"
],
"description": "Currently only 'content' type supported"
},
"content": {
"description": "Predicted output (usually contents of a file)",
"anyOf": [
{
"type": "string",
"description": "Predicted output (usually contents of a file)"
},
{
"type": "array",
"description": "Array of predicted output text items (usually pieces of a file)",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
],
"description": "Currently only 'text' supported"
},
"text": {
"type": "string",
"description": "Predicted output item text"
}
},
"required": [
"type",
"text"
]
}
}
]
}
},
"required": [
"type",
"content"
]
}
}
},