fix: remove API key prefix exposure from /api/pplx/status endpoint

This commit is contained in:
KoalaTrapLord authored and GitHub committed 2026-03-19 00:05:33 -04:00
1 parent ed255c1a21
commit a95ae45e18
4 files changed
-4

No files matched your search

@@ -559,5 +559,4 @@ export interface CommanderSearchResult {
export interface PplxStatus {
configured: boolean
key_prefix: string
}
-1
View File
@@ -6945,7 +6945,6 @@ async def pplx_status():
"""Check if Perplexity API is configured."""
return {
'configured': bool(CFG.pplx_api_key),
'key_prefix': CFG.pplx_api_key[:8] + '...' if CFG.pplx_api_key else '',
}
-1
View File
@@ -2560,7 +2560,6 @@ async def pplx_status():
"""Check if Perplexity API is configured."""
return {
'configured': bool(CFG.pplx_api_key),
'key_prefix': CFG.pplx_api_key[:8] + '...' if CFG.pplx_api_key else '',
}
-1
View File
@@ -1224,7 +1224,6 @@ async def pplx_status():
"""Check if Perplexity API is configured."""
return {
'configured': bool(CFG.pplx_api_key),
'key_prefix': CFG.pplx_api_key[:8] + '...' if CFG.pplx_api_key else '',
}