jupyterlab / jupyter-ai

A generative AI extension for JupyterLab
https://jupyter-ai.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
3.25k stars 334 forks source link

`profile_name` field ignored for Amazon Bedrock Chat Models in jupyter-ai Extension #1007

Open Naveen-Annam-CMA opened 2 months ago

Naveen-Annam-CMA commented 2 months ago

Description:

We are using Amazon Bedrock Chat models as completion models within the jupyter-ai extension. The profile_name field in the UI appears to be ignored when we try to set our SSO profiles. It defaults to the personal profile (we have configured) from the credentials file, even though we manually specify a different SSO profile.

We typically use AWS_PROFILE to set our SSO profiles, and we would like to understand why the profile_name field does not seem to apply the manually entered values.

Environment:

Request for Assistance:

dlqqq commented 2 days ago

@Naveen-Annam-CMA

Sorry this issue went undiscovered by our team for so long. We've identified a bug (#1118) that causes the model fields set from the UI to not be applied until after the server is restarted. This almost certainly explains the issue you were experiencing.

I've opened a new PR to fix this: #1125. We hope to have this issue patched by early next week after folks return from Thanksgiving in the US.

I sincerely appreciate your patience. Thank you for using Jupyter AI!