// This file is auto-generated by scripts/generate-integrations-artifacts.ts.
// Do not edit it by hand; update the descriptor modules and regenerate instead.

import type { AnthropicProxyDescriptor, BrandDescriptor, GatewayDescriptor, ModelDescriptor, ProviderPresetManifestEntry, VendorDescriptor } from '../descriptors.js'
import vendorAnthropic from '../vendors/anthropic.js'
import vendorBankr from '../vendors/bankr.js'
import vendorDeepseek from '../vendors/deepseek.js'
import vendorGemini from '../vendors/gemini.js'
import vendorMinimax from '../vendors/minimax.js'
import vendorMoonshot from '../vendors/moonshot.js'
import vendorOpenai from '../vendors/openai.js'
import vendorVenice from '../vendors/venice.js'
import vendorXai from '../vendors/xai.js'
import vendorXiaomiMimo from '../vendors/xiaomi-mimo.js'
import vendorZai from '../vendors/zai.js'
import gatewayAtomicChat from '../gateways/atomic-chat.js'
import gatewayAzureOpenai from '../gateways/azure-openai.js'
import gatewayBedrock from '../gateways/bedrock.js'
import gatewayCustom from '../gateways/custom.js'
import gatewayDashscopeCn from '../gateways/dashscope-cn.js'
import gatewayDashscopeIntl from '../gateways/dashscope-intl.js'
import gatewayGithub from '../gateways/github.js'
import gatewayGitlawbOpengateway from '../gateways/gitlawb-opengateway.js'
import gatewayGroq from '../gateways/groq.js'
import gatewayHicap from '../gateways/hicap.js'
import gatewayKimiCode from '../gateways/kimi-code.js'
import gatewayLmstudio from '../gateways/lmstudio.js'
import gatewayMistral from '../gateways/mistral.js'
import gatewayNvidiaNim from '../gateways/nvidia-nim.js'
import gatewayOllama from '../gateways/ollama.js'
import gatewayOpenrouter from '../gateways/openrouter.js'
import gatewayTogether from '../gateways/together.js'
import gatewayVertex from '../gateways/vertex.js'
import brandClaude from '../brands/claude.js'
import brandDeepseek from '../brands/deepseek.js'
import brandGemini from '../brands/gemini.js'
import brandGlm from '../brands/glm.js'
import brandGpt from '../brands/gpt.js'
import brandKimi from '../brands/kimi.js'
import brandLlama from '../brands/llama.js'
import brandMinimax from '../brands/minimax.js'
import brandMistral from '../brands/mistral.js'
import brandNemotron from '../brands/nemotron.js'
import brandOpenaiCompatibleAlias from '../brands/openai-compatible-alias.js'
import brandQwen from '../brands/qwen.js'
import brandXai from '../brands/xai.js'
import brandXiaomiMimo from '../brands/xiaomi-mimo.js'
import modelClaude from '../models/claude.js'
import modelDeepseek from '../models/deepseek.js'
import modelGemini from '../models/gemini.js'
import modelGlm from '../models/glm.js'
import modelGpt from '../models/gpt.js'
import modelKimi from '../models/kimi.js'
import modelLlama from '../models/llama.js'
import modelMinimax from '../models/minimax.js'
import modelMistral from '../models/mistral.js'
import modelNemotron from '../models/nemotron.js'
import modelOpenaiCompatibleAlias from '../models/openai-compatible-alias.js'
import modelQwen from '../models/qwen.js'
import modelXai from '../models/xai.js'
import modelXiaomiMimo from '../models/xiaomi-mimo.js'

export const VENDOR_DESCRIPTORS = [vendorAnthropic, vendorBankr, vendorDeepseek, vendorGemini, vendorMinimax, vendorMoonshot, vendorOpenai, vendorVenice, vendorXai, vendorXiaomiMimo, vendorZai] as const satisfies readonly VendorDescriptor[]
export const GATEWAY_DESCRIPTORS = [gatewayAtomicChat, gatewayAzureOpenai, gatewayBedrock, gatewayCustom, gatewayDashscopeCn, gatewayDashscopeIntl, gatewayGithub, gatewayGitlawbOpengateway, gatewayGroq, gatewayHicap, gatewayKimiCode, gatewayLmstudio, gatewayMistral, gatewayNvidiaNim, gatewayOllama, gatewayOpenrouter, gatewayTogether, gatewayVertex] as const satisfies readonly GatewayDescriptor[]
export const ANTHROPIC_PROXY_DESCRIPTORS = [] as const satisfies readonly AnthropicProxyDescriptor[]
export const BRAND_DESCRIPTORS = [brandClaude, brandDeepseek, brandGemini, brandGlm, brandGpt, brandKimi, brandLlama, brandMinimax, brandMistral, brandNemotron, brandOpenaiCompatibleAlias, brandQwen, brandXai, brandXiaomiMimo] as const satisfies readonly BrandDescriptor[]
export const MODEL_DESCRIPTOR_GROUPS = [modelClaude, modelDeepseek, modelGemini, modelGlm, modelGpt, modelKimi, modelLlama, modelMinimax, modelMistral, modelNemotron, modelOpenaiCompatibleAlias, modelQwen, modelXai, modelXiaomiMimo] as const satisfies readonly (readonly ModelDescriptor[])[]
export const MODEL_DESCRIPTORS = MODEL_DESCRIPTOR_GROUPS.flat() satisfies readonly ModelDescriptor[]

export const PROVIDER_PRESET_MANIFEST = [
  {
    "preset": "gitlawb-opengateway",
    "routeKind": "gateway",
    "routeId": "gitlawb-opengateway",
    "vendorId": "openai",
    "gatewayId": "gitlawb-opengateway",
    "description": "Gitlawb Opengateway — free hosted Xiaomi MiMo + GMI Cloud partner models",
    "label": "Gitlawb Opengateway",
    "name": "Gitlawb Opengateway",
    "baseUrlEnvVars": [
      "OPENGATEWAY_BASE_URL",
      "OPENAI_BASE_URL"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ],
    "fallbackBaseUrl": "https://opengateway.gitlawb.com/v1",
    "fallbackModel": "mimo-v2.5-pro"
  },
  {
    "preset": "anthropic",
    "routeKind": "vendor",
    "routeId": "anthropic",
    "vendorId": "anthropic",
    "description": "Native Claude API (x-api-key auth)",
    "apiKeyEnvVars": [
      "ANTHROPIC_API_KEY"
    ],
    "baseUrlEnvVars": [
      "ANTHROPIC_BASE_URL"
    ],
    "modelEnvVars": [
      "ANTHROPIC_MODEL"
    ]
  },
  {
    "preset": "dashscope-cn",
    "routeKind": "gateway",
    "routeId": "dashscope-cn",
    "vendorId": "openai",
    "gatewayId": "dashscope-cn",
    "description": "Alibaba DashScope China endpoint",
    "apiKeyEnvVars": [
      "DASHSCOPE_API_KEY"
    ]
  },
  {
    "preset": "dashscope-intl",
    "routeKind": "gateway",
    "routeId": "dashscope-intl",
    "vendorId": "openai",
    "gatewayId": "dashscope-intl",
    "description": "Alibaba DashScope International endpoint",
    "apiKeyEnvVars": [
      "DASHSCOPE_API_KEY"
    ]
  },
  {
    "preset": "azure-openai",
    "routeKind": "gateway",
    "routeId": "azure-openai",
    "vendorId": "openai",
    "gatewayId": "azure-openai",
    "description": "Azure OpenAI endpoint (model=deployment name)",
    "apiKeyEnvVars": [
      "AZURE_OPENAI_API_KEY"
    ]
  },
  {
    "preset": "bankr",
    "routeKind": "vendor",
    "routeId": "bankr",
    "vendorId": "bankr",
    "description": "Bankr LLM Gateway (OpenAI-compatible)",
    "apiKeyEnvVars": [
      "BNKR_API_KEY"
    ],
    "modelEnvVars": [
      "BANKR_MODEL",
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "deepseek",
    "routeKind": "vendor",
    "routeId": "deepseek",
    "vendorId": "deepseek",
    "description": "DeepSeek OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "DEEPSEEK_API_KEY"
    ]
  },
  {
    "preset": "gemini",
    "routeKind": "vendor",
    "routeId": "gemini",
    "vendorId": "gemini",
    "description": "Gemini OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "GEMINI_API_KEY"
    ]
  },
  {
    "preset": "groq",
    "routeKind": "gateway",
    "routeId": "groq",
    "vendorId": "openai",
    "gatewayId": "groq",
    "description": "Groq OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "GROQ_API_KEY"
    ]
  },
  {
    "preset": "hicap",
    "routeKind": "gateway",
    "routeId": "hicap",
    "vendorId": "openai",
    "gatewayId": "hicap",
    "description": "Hicap OpenAI-compatible gateway",
    "apiKeyEnvVars": [
      "HICAP_API_KEY"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "lmstudio",
    "routeKind": "gateway",
    "routeId": "lmstudio",
    "vendorId": "openai",
    "gatewayId": "lmstudio",
    "description": "Local LM Studio endpoint",
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "atomic-chat",
    "routeKind": "gateway",
    "routeId": "atomic-chat",
    "vendorId": "openai",
    "gatewayId": "atomic-chat",
    "description": "Local Model Provider",
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "ollama",
    "routeKind": "gateway",
    "routeId": "ollama",
    "vendorId": "openai",
    "gatewayId": "ollama",
    "description": "Local or remote Ollama endpoint",
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "minimax",
    "routeKind": "vendor",
    "routeId": "minimax",
    "vendorId": "minimax",
    "description": "MiniMax API endpoint",
    "apiKeyEnvVars": [
      "MINIMAX_API_KEY"
    ]
  },
  {
    "preset": "mistral",
    "routeKind": "gateway",
    "routeId": "mistral",
    "vendorId": "openai",
    "gatewayId": "mistral",
    "description": "Mistral OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "MISTRAL_API_KEY"
    ]
  },
  {
    "preset": "moonshotai",
    "routeKind": "vendor",
    "routeId": "moonshot",
    "vendorId": "moonshot",
    "description": "Moonshot AI - API endpoint",
    "label": "Moonshot AI - API",
    "name": "Moonshot AI - API",
    "apiKeyEnvVars": [
      "MOONSHOT_API_KEY"
    ]
  },
  {
    "preset": "kimi-code",
    "routeKind": "gateway",
    "routeId": "kimi-code",
    "vendorId": "openai",
    "gatewayId": "kimi-code",
    "description": "Moonshot AI - Kimi Code Subscription endpoint",
    "apiKeyEnvVars": [
      "KIMI_API_KEY"
    ]
  },
  {
    "preset": "nvidia-nim",
    "routeKind": "gateway",
    "routeId": "nvidia-nim",
    "vendorId": "openai",
    "gatewayId": "nvidia-nim",
    "description": "NVIDIA NIM endpoint",
    "apiKeyEnvVars": [
      "NVIDIA_API_KEY"
    ]
  },
  {
    "preset": "openai",
    "routeKind": "vendor",
    "routeId": "openai",
    "vendorId": "openai",
    "description": "OpenAI API with API key",
    "apiKeyEnvVars": [
      "OPENAI_API_KEY"
    ]
  },
  {
    "preset": "openrouter",
    "routeKind": "gateway",
    "routeId": "openrouter",
    "vendorId": "openai",
    "gatewayId": "openrouter",
    "description": "OpenRouter OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "OPENROUTER_API_KEY"
    ]
  },
  {
    "preset": "together",
    "routeKind": "gateway",
    "routeId": "together",
    "vendorId": "openai",
    "gatewayId": "together",
    "description": "Together chat/completions endpoint",
    "apiKeyEnvVars": [
      "TOGETHER_API_KEY"
    ]
  },
  {
    "preset": "venice",
    "routeKind": "vendor",
    "routeId": "venice",
    "vendorId": "venice",
    "description": "Venice OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "VENICE_API_KEY"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "xai",
    "routeKind": "vendor",
    "routeId": "xai",
    "vendorId": "xai",
    "description": "xAI Grok OpenAI-compatible endpoint",
    "apiKeyEnvVars": [
      "XAI_API_KEY"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "xiaomi-mimo",
    "routeKind": "vendor",
    "routeId": "xiaomi-mimo",
    "vendorId": "xiaomi-mimo",
    "description": "Xiaomi MiMo OpenAI-compatible endpoint",
    "label": "Xiaomi MiMo",
    "name": "Xiaomi MiMo",
    "apiKeyEnvVars": [
      "MIMO_API_KEY"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "zai",
    "routeKind": "vendor",
    "routeId": "zai",
    "vendorId": "zai",
    "description": "Z.AI GLM coding subscription endpoint",
    "label": "Z.AI - GLM Coding Plan",
    "name": "Z.AI - GLM Coding Plan",
    "apiKeyEnvVars": [
      "OPENAI_API_KEY"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ]
  },
  {
    "preset": "custom",
    "routeKind": "gateway",
    "routeId": "custom",
    "vendorId": "openai",
    "gatewayId": "custom",
    "description": "Any OpenAI-compatible provider",
    "label": "Custom",
    "name": "Custom OpenAI-compatible",
    "apiKeyEnvVars": [
      "OPENAI_API_KEY"
    ],
    "baseUrlEnvVars": [
      "OPENAI_BASE_URL",
      "OPENAI_API_BASE"
    ],
    "modelEnvVars": [
      "OPENAI_MODEL"
    ],
    "fallbackBaseUrl": "http://localhost:11434/v1"
  }
] as const satisfies readonly ProviderPresetManifestEntry[]
export type ProviderPreset = (typeof PROVIDER_PRESET_MANIFEST)[number]['preset']
export const ORDERED_PROVIDER_PRESETS = [
  "gitlawb-opengateway",
  "anthropic",
  "dashscope-cn",
  "dashscope-intl",
  "azure-openai",
  "bankr",
  "deepseek",
  "gemini",
  "groq",
  "hicap",
  "lmstudio",
  "atomic-chat",
  "ollama",
  "minimax",
  "mistral",
  "moonshotai",
  "kimi-code",
  "nvidia-nim",
  "openai",
  "openrouter",
  "together",
  "venice",
  "xai",
  "xiaomi-mimo",
  "zai",
  "custom"
] as const
