Skip to content

Frontend SDK: a way to check if user has AI api keys setup & validate them #2014

@bebiksior

Description

@bebiksior

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help us know what to work on
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Description

It would be nice to have a way to check if the user has a provider set up with valid api keys,
something like this:

const hasOpenRouter = sdk.ai.isAvailable("openrouter");

Use cases

Metadata

Metadata

Assignees

Labels

component:frontendRelated to the Caido UIeffort:medium1–2 days of work. Moderate changes that may require a design meeting. Handled by one developer.topic:ai:sdktopic:credentials

Projects

Status

To be released

Relationships

None yet

Development

No branches or pull requests

Issue actions