ai.settings.menu:
  path: '/admin/config/ai'
  defaults:
    _title: 'AI'
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  requirements:
    _permission: 'administer site configuration'

ai.settings_form:
  path: '/admin/config/ai/settings/{nojs}'
  defaults:
    _form: '\Drupal\ai\Form\AiSettingsForm'
    _title: 'AI Settings'
    nojs: 'ajax'
  requirements:
    _permission: 'administer ai'

ai.admin_providers:
  path: '/admin/config/ai/providers'
  defaults:
    _controller: '\Drupal\ai\Controller\ProviderSetupList::list'
    _title: 'AI Providers'
  requirements:
    _providers: 'TRUE'

ai.admin_vdb_providers:
  path: '/admin/config/ai/vdb_providers'
  defaults:
    _controller: '\Drupal\ai\Controller\ProviderSetupList::list'
    _title: 'Vector Database Providers'
  requirements:
    _vdb_providers: 'TRUE'

ai.create_model_settings_form:
  path: '/admin/config/ai/providers/{operation_type}/{provider}'
  defaults:
    _form: '\Drupal\ai\Form\AiModelSettingsForm'
    _title_callback: '\Drupal\ai\Form\AiModelSettingsForm::createTitle'
  requirements:
    _permission: 'administer ai providers'

ai.edit_model_settings_form:
  path: '/admin/config/ai/providers/{operation_type}/{provider}/{model_id}'
  defaults:
    _form: '\Drupal\ai\Form\AiModelSettingsForm'
    _title_callback: '\Drupal\ai\Form\AiModelSettingsForm::createTitle'
  requirements:
    _permission: 'administer ai providers'

ai.ai_setup:
  path: '/admin/config/ai/setup'
  defaults:
    _title: 'AI Set-Up Wizard'
    _form: 'Drupal\ai\Form\AiSetupForm'
  requirements:
    _permission: 'administer ai'
