You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but currently an attempt to import each and every provider will be made because the checks for whether provider is allowed are only done after it is loaded
Proposed Solution
Make it possible to allow-list and block-list based on entry point name rather than on provider ID?
@krassowski Thank you for this detailed proposal! I agree the startup time is an issue. I think we should also explore if there's a backward-compatible way of reducing the startup time, without requiring users specify a configurable trait that blocks entry points. Let's continue the discussion in #1115.
Problem
Proposed Solution
Make it possible to allow-list and block-list based on entry point name rather than on provider ID?
jupyter-ai/packages/jupyter-ai-magics/jupyter_ai_magics/utils.py
Lines 66 to 76 in 53251f6
Like
AiExtension.allowed_provider_entry_points
orAiExtension.allowed_provider_names
?Additional context
Somewhat related annoyances:
The text was updated successfully, but these errors were encountered: