Skip to content

Cannot delete and change API key for embedding model #1481

@cboettig

Description

@cboettig

If I have previously set up Jupyter-AI to use the OpenAI interface for both the completions and embedding, nothing I can do will let me delete and change the API key. The interface keeps telling me that the API key is "in use by the embedding model" even though I have removed the embedding model entirely:

Image

It would be better if it just let me delete/rotate the token (possibly with prompt 'are you sure' if you want a safety) even if the model were still selected. And it should certainly let me delete the token after I have un-selected the model.

The design here seems to assume that the token for a given model will never change??

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugs reported by users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions