feat: feature-gate local inference dependencies (#7976)

Signed-off-by: DaeHee Lee <lee111dae11@proton.me>
Signed-off-by: jh-block <jhugo@block.xyz>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: jh-block <jhugo@block.xyz>
This commit is contained in:
이대희
2026-03-24 00:49:24 +09:00
committed by GitHub
parent 79f539f8af
commit c493c6160c
23 changed files with 372 additions and 100 deletions
+35
View File
@@ -1922,6 +1922,26 @@
}
}
},
"/features": {
"get": {
"tags": [
"super::routes::features"
],
"operationId": "get_features",
"responses": {
"200": {
"description": "Compile-time feature flags",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FeaturesResponse"
}
}
}
}
}
}
},
"/handle_nanogpt": {
"post": {
"tags": [
@@ -5333,6 +5353,21 @@
}
}
},
"FeaturesResponse": {
"type": "object",
"required": [
"features"
],
"properties": {
"features": {
"type": "object",
"description": "Map of feature name to enabled status",
"additionalProperties": {
"type": "boolean"
}
}
}
},
"ForkRequest": {
"type": "object",
"required": [