Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.6 KB
Raw Blame
// SPDX-License-Identifier: FSL-1.1-MIT
// Copyright (c) 2026 Cua AI, Inc.

// Generated by `cargo run -p cua-connections --bin cua-connections-gen` from
// libs/cua/crates/cua-connections/providers/*.toml. Do not edit.

/// The providers a person can see, in rank order, as the app core lists them.
public enum ProviderRegistry {
    public static let ids: [String] = [
        "anthropic",
        "openai",
        "openrouter",
        "google",
        "xai",
        "deepseek",
        "kimi",
        "github",
        "huggingface",
        "zai",
        "fireworks",
        "nvidia",
        "ollama-cloud",
        "deepinfra",
        "novita",
        "nebius-token-factory",
        "gmi",
        "upstage",
        "arcee",
        "ai-gateway",
        "opencode-zen",
        "opencode-go",
        "kilocode",
        "xiaomi",
        "stepfun",
        "minimax",
        "alibaba",
        "custom",
    ]

    /// The model ids each visible provider lists, in the order the app core lists them.
    public static let models: [String: [String]] = [
        "anthropic": ["claude-haiku-4-5", "claude-sonnet-5", "claude-opus-5-5"],
        "openai": ["gpt-5.5"],
        "openrouter": ["anthropic/claude-sonnet-5"],
        "google": ["gemini-3.8-flash"],
        "xai": ["grok-4.6"],
        "deepseek": ["deepseek-flash"],
        "kimi": ["kimi-k3"],
    ]

    public static let methodKinds: [String] = [
        "api_key",
        "import_login",
        "device_code",
        "browser_oauth",
        "subscription_login",
        "adc",
        "local_server",
        "custom_endpoint",
    ]
}