opencode/providers

Procs

proc getApiProvider(client: OpencodeClient;
                    location: JsonNode = default(JsonNode)): Future[
    GetApiProviderResponse] {....stackTrace: false, raises: [Exception, ValueError,
    KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError,
    ProtocolError, OpenParserJsonError, OpencodeClientError],
                              tags: [RootEffect, ReadIOEffect, TimeEffect],
                              forbids: [].}
Retrieve active AI providers so clients can show provider availability and configuration.
proc getApiProviderProviderID(client: OpencodeClient; providerID: string;
                              location: JsonNode = default(JsonNode)): Future[
    GetApiProviderProviderIDResponse] {....stackTrace: false, raises: [Exception,
    ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [
    RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Retrieve a single AI provider so clients can inspect its availability and endpoint settings.