Support MultiEnvAuthStrategy
in %ai list
, chat UI settings panel
#525
Labels
MultiEnvAuthStrategy
in %ai list
, chat UI settings panel
#525
Problem
When I was evaluating PR #478 by @markqiu, I noticed that the new
QianfanEmbeddingsEndpointProvider
andQianfanProvider
useMultiEnvAuthStrategy
, with keysQIANFAN_AK
andQIANFAN_SK
.%ai list
does not show either of these keys:The Chat UI settings panel does not show inputs for either of these keys when a Qianfan model is selected:
Proposed Solution
Modify
%ai list
to display and check all keys when aMultiEnvAuthStrategy
model is being used.Modify the chat UI's settings panel to display inputs for all keys when a
MultiEnvAuthStrategy
model is being used.Additional context
See this comment in
magics.py
:jupyter-ai/packages/jupyter-ai-magics/jupyter_ai_magics/magics.py
Lines 493 to 502 in 54daef8
The text was updated successfully, but these errors were encountered: