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:
Praveen Thirumurugan
2025-12-24 16:33:54 +05:30
parent a34aa17481
commit 276aa4fb29
3 changed files with 26 additions and 8 deletions
+1 -1
View File
@@ -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`);
}