mirror of
https://github.com/praveentcom/openproxy.git
synced 2026-05-30 19:39:32 +02:00
Enhance logging and update README for SSRF warning
- Updated console log messages in cost.ts and proxy.ts for clarity and consistency. - Added important SSRF warning in README.md regarding localhost access issues with certain clients, along with solutions using external proxy services.
This commit is contained in:
@@ -133,7 +133,7 @@ export async function loadHeliconeCosts(): Promise<void> {
|
||||
}
|
||||
|
||||
heliconeCostsLoaded = true;
|
||||
console.log(`\x1b[36m 🌎 Loaded ${data.metadata.total_models} model costs from Helicone\x1b[0m`);
|
||||
console.log(`\x1b[96m 🌎 Loaded ${data.metadata.total_models} model costs from Helicone API\x1b[0m`);
|
||||
} catch (error) {
|
||||
console.warn(`\x1b[33m ⚠️ Failed to load Helicone costs: ${error instanceof Error ? error.message : error}\x1b[0m`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user