Skip to content

Commit 4ecfaba

Browse files
committed
refactor(proxy): 🔨 remove debug print statement for credentials
The debug print statement that was logging credential summaries to the console has been commented out. This removes unnecessary console output in the proxy application while keeping the credential loading logic intact.
1 parent d76b29a commit 4ecfaba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/proxy_app/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,10 @@ async def process_credential(provider: str, path: str, provider_instance):
500500
)
501501

502502
# Log loaded credentials summary (compact, always visible for deployment verification)
503-
_api_summary = ', '.join([f"{p}:{len(c)}" for p, c in api_keys.items()]) if api_keys else "none"
504-
_oauth_summary = ', '.join([f"{p}:{len(c)}" for p, c in oauth_credentials.items()]) if oauth_credentials else "none"
505-
_total_summary = ', '.join([f"{p}:{len(c)}" for p, c in client.all_credentials.items()])
506-
print(f"🔑 Credentials loaded: {_total_summary} (API: {_api_summary} | OAuth: {_oauth_summary})")
503+
#_api_summary = ', '.join([f"{p}:{len(c)}" for p, c in api_keys.items()]) if api_keys else "none"
504+
#_oauth_summary = ', '.join([f"{p}:{len(c)}" for p, c in oauth_credentials.items()]) if oauth_credentials else "none"
505+
#_total_summary = ', '.join([f"{p}:{len(c)}" for p, c in client.all_credentials.items()])
506+
#print(f"🔑 Credentials loaded: {_total_summary} (API: {_api_summary} | OAuth: {_oauth_summary})")
507507
client.background_refresher.start() # Start the background task
508508
app.state.rotating_client = client
509509

0 commit comments

Comments
 (0)