potpie icon indicating copy to clipboard operation
potpie copied to clipboard

Add caching for API keys in ProviderService

Open ASCE-D opened this issue 1 month ago • 2 comments

Summary by CodeRabbit

  • Refactor

    • Improved API key handling: adds memoized caching of provider credentials to reduce repeated lookups and improve reliability.
    • Introduces transparent fallbacks to provider-specific configuration when primary secrets are unavailable, reducing failures and latency.
  • Style

    • Reformatted tool initialization code for clearer readability and easier maintenance.

✏️ Tip: You can customize this high-level summary in your review settings.

ASCE-D avatar Nov 21 '25 08:11 ASCE-D