@extends('layouts.app') @section('title', 'AI Settings') @push('styles') @endpush @section('content')

AI settings

Configure Ollama integration for AI-powered features

@if(session('success'))

{{ session('success') }}

@endif

Connection settings

@csrf
@if (count($models) > 0) @else @endif

Ollama status

@if ($available) Running @else Not running @endif
@if (!$available)

Ollama is not running or not reachable. Make sure Ollama is installed and running on your server, and the API URL above is correct.

@endif
@if ($available)

Test prompt

@csrf
@if (session('ai_response'))
{{ session('ai_response') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@endif
@endsection