fix: pipeline typo and add features diagnostic script
- Fix NameError in insights.py pipeline endpoint (access -> access_calls) - Add check_features.py diagnostic script for debugging Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
1298bd235f
commit
32d53b447d
2 files changed
+37
-1
No files matched your search
@@ -348,7 +348,7 @@ async def analyze_pipeline(x_profile_id: Optional[str]=Header(default=None), ses
|
||||
if not access_calls['allowed']:
|
||||
logger.warning(
|
||||
f"[FEATURE-LIMIT] User {pid} would be blocked: "
|
||||
f"ai_calls {access_calls['reason']} (used: {access_calls['used']}, limit: {access['limit']})"
|
||||
f"ai_calls {access_calls['reason']} (used: {access_calls['used']}, limit: {access_calls['limit']})"
|
||||
)
|
||||
|
||||
# Old check (keep for now)
|
||||
|
||||
Reference in new issue
Block a user