We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad73937 commit ae64b84Copy full SHA for ae64b84
1 file changed
monitor/api/server.py
@@ -132,10 +132,10 @@ async def get_available_metrics():
132
}
133
134
@app.get("/api/features")
135
- async def get_features():
136
- """Get available features (cached)."""
137
- from monitor.utils import get_features
138
- return get_features()
+ async def get_features_endpoint():
+ """Get available features (always fresh to detect newly installed packages)."""
+ from monitor.utils.features import detect_features
+ return detect_features(force=True)
139
140
@app.post("/api/update/check")
141
async def check_update():
0 commit comments