@php
$isOtherCategories = isset($category) && ($category->slug == 'ai_vision' || $category->slug == 'ai_pdf' || $category->slug == 'ai_chat_image');
$disable_actions = $app_is_demo && $isOtherCategories;
@endphp
@extends('panel.layout.app', ['disable_tblr' => true])
@section('title')
@php
$titles = [
'ai_vision' => __('Vision AI'),
'ai_pdf' => __('AI File Chat'),
'ai_chat_image' => __('Chat Image'),
'ai_realtime_voice_chat' => __('AI Realtime Voice Chat'),
];
$title = $titles[$category->slug] ?? __('AI Chat');
@endphp
{{ $title }}
@endsection
@section('titlebar_subtitle')
@if ($category->slug == 'ai_vision')
{{ __('Seamlessly upload any image you want to explore and get insightful conversations.') }}
@elseif ($category->slug == 'ai_pdf')
{{ __('Simply upload a PDF, find specific information. extract key insights or summarize the entire document.') }}
@elseif ($category->slug == 'ai_chat_image')
{{ __('Seamlessly generate and craft a diverse array of images without ever leaving your chat environment.') }}
@endif
@endsection
@section('titlebar_actions')
@includeWhen(!$isOtherCategories, 'components.select-ai-model-list')