Skip to content

List of registered providers. #104

@mindaugasbudreika

Description

@mindaugasbudreika

I've started playing around with the API and ran into the issue of retrieving a list of registered Providers.

Currently, calling AiClient::defaultRegistry() initializes the default registry with Anthropic, Google, and OpenAI providers, but ProviderRegistry does not have a public method to return the list of registered providers, requiring developers to maintain a separate map outside the SDK that tracks providers registered by AiClient::defaultRegistry().

I'm happy to submit a PR to implement a public getter method for it, unless there is a larger effort to rewrite existing provider registration and management logic that will address this anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions