mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-12 23:12:23 -06:00
Add per-alias model concurrency admission (#990)
* feat(models): add per-alias concurrency admission Add registry-backed FIFO admission limits with queue-aware deadlines and full-stream leases. Expose max_concurrency through storage, admin configuration, OpenAPI, documentation, and diagrams, with role and live backend count coverage. * fix(api): omit null concurrency schema default Keep max_concurrency optional for presence-keyed updates without advertising a null default for its non-null integer OpenAPI shape.
This commit is contained in:
@@ -11880,6 +11880,14 @@
|
||||
"title": "Context Window",
|
||||
"type": "integer"
|
||||
},
|
||||
"max_concurrency": {
|
||||
"default": 0,
|
||||
"description": "Maximum concurrent model generations for this alias in one process; zero means unlimited.",
|
||||
"maximum": 2147483647,
|
||||
"minimum": 0,
|
||||
"title": "Max Concurrency",
|
||||
"type": "integer"
|
||||
},
|
||||
"capabilities": {
|
||||
"default": "{}",
|
||||
"title": "Capabilities",
|
||||
@@ -12015,6 +12023,14 @@
|
||||
"title": "Context Window",
|
||||
"type": "integer"
|
||||
},
|
||||
"max_concurrency": {
|
||||
"default": 0,
|
||||
"description": "Maximum concurrent model generations for this alias in one process; zero means unlimited.",
|
||||
"maximum": 2147483647,
|
||||
"minimum": 0,
|
||||
"title": "Max Concurrency",
|
||||
"type": "integer"
|
||||
},
|
||||
"capabilities": {
|
||||
"default": "{}",
|
||||
"title": "Capabilities",
|
||||
@@ -12151,6 +12167,14 @@
|
||||
"title": "Context Window",
|
||||
"type": "integer"
|
||||
},
|
||||
"max_concurrency": {
|
||||
"default": 0,
|
||||
"description": "Maximum concurrent model generations for this alias in one process; zero means unlimited.",
|
||||
"maximum": 2147483647,
|
||||
"minimum": 0,
|
||||
"title": "Max Concurrency",
|
||||
"type": "integer"
|
||||
},
|
||||
"capabilities": {
|
||||
"additionalProperties": true,
|
||||
"title": "Capabilities",
|
||||
@@ -12304,6 +12328,13 @@
|
||||
"default": null,
|
||||
"title": "Context Window"
|
||||
},
|
||||
"max_concurrency": {
|
||||
"description": "Maximum concurrent model generations for this alias in one process; zero means unlimited.",
|
||||
"maximum": 2147483647,
|
||||
"minimum": 0,
|
||||
"title": "Max Concurrency",
|
||||
"type": "integer"
|
||||
},
|
||||
"capabilities": {
|
||||
"additionalProperties": true,
|
||||
"default": null,
|
||||
|
||||
Reference in New Issue
Block a user