@standardagents/builder 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70248,7 +70248,12 @@ var icon_get_default = defineController2(async ({ params, url }) => {
70248
70248
  if (!providerName) {
70249
70249
  return Response.json({ error: "Provider name is required" }, { status: 400 });
70250
70250
  }
70251
- const factory = await loadProviderFactory(providerName);
70251
+ let factory = null;
70252
+ try {
70253
+ factory = await loadProviderFactory(providerName);
70254
+ } catch (error) {
70255
+ console.error(`Error loading provider factory for ${providerName}:`, error);
70256
+ }
70252
70257
  if (!factory) {
70253
70258
  return new Response(placeholderSvg(providerName), {
70254
70259
  headers: { "Content-Type": "image/svg+xml", "Cache-Control": ICON_CACHE_CONTROL }