diff --git a/swagger/docs.go b/swagger/docs.go index 13a7183f5..f5ac9d7e4 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -6402,6 +6402,10 @@ const docTemplate = `{ "type": "string" } }, + "context_size": { + "description": "ContextSize is the effective context window in tokens the backend will\nrun with: the configured context_size, or the default when unset. 0 means\nthe value is unknown (e.g. a loose file with no config). Clients can use\nthis to size their context budget for auto-compaction and pruning.", + "type": "integer" + }, "id": { "type": "string" }, diff --git a/swagger/swagger.json b/swagger/swagger.json index 211f2769d..4d3bab9a2 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -6399,6 +6399,10 @@ "type": "string" } }, + "context_size": { + "description": "ContextSize is the effective context window in tokens the backend will\nrun with: the configured context_size, or the default when unset. 0 means\nthe value is unknown (e.g. a loose file with no config). Clients can use\nthis to size their context budget for auto-compaction and pruning.", + "type": "integer" + }, "id": { "type": "string" }, diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 727a94f44..87fa171fc 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -1621,6 +1621,13 @@ definitions: items: type: string type: array + context_size: + description: |- + ContextSize is the effective context window in tokens the backend will + run with: the configured context_size, or the default when unset. 0 means + the value is unknown (e.g. a loose file with no config). Clients can use + this to size their context budget for auto-compaction and pruning. + type: integer id: type: string input_modalities: