import { defineGateway } from '../define.js'

/**
 * Google Vertex AI has dedicated transport behavior that is not yet fully
 * normalized into the generic descriptor model. It relies on ambient GCP
 * credentials and uses a separate runtime path.
 *
 * Do not collapse this into generic OpenAI-compatible routing.
 */
export default defineGateway({
  id: 'vertex',
  label: 'Google Vertex AI',
  vendorId: 'anthropic',
  category: 'hosted',
  supportsModelRouting: true,
  setup: {
    requiresAuth: true,
    authMode: 'adc',
  },
  transportConfig: {
    kind: 'vertex',
  },
  catalog: {
    source: 'static',
    models: [
      { id: 'vertex-claude-opus', apiName: 'claude-opus-4-6', label: 'Claude Opus (Vertex)', modelDescriptorId: 'claude-opus-4-6' },
    ],
  },
  usage: { supported: false },
})
