@php $providers = app(\App\Services\ContentAnalyzerService::class)->availableProviders(); @endphp
{{-- Top Header --}}
Volubit AI Content Assistant Online

Analyze links, draft articles, events & research blocks

@if ($providers->count() > 1)
Provider:
@elseif ($provider) {{ ucfirst($provider) }} @endif New Chat
{{-- Chat Message Thread --}}
@if (empty($messages)) {{-- Empty State --}}

What would you like to create?

Provide a URL to research, or request a drafted article, event announcement, or research block. Click any suggestion below to start.

@endif {{-- Message History --}} @foreach ($messages as $message) @if ($message['role'] === 'user')
{{ $message['content'] }}
YOU
@elseif ($message['role'] === 'ai')
{!! \Illuminate\Support\Str::markdown($message['content'], ['html_input' => 'strip', 'allow_unsafe_links' => false]) !!}
@elseif ($message['role'] === 'error')
Generation Error {{ $message['content'] }}
@endif @endforeach {{-- Typing Animation while Loading --}} @if ($isLoading)
@endif
{{-- Bottom Input Bar --}}

Press Enter to send · Shift + Enter for new line