@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',
$category->slug == 'ai_vision'
? __('Vision AI')
: ($category->slug == 'ai_pdf'
? __('AI File Chat')
: ($category->slug == 'ai_chat_image'
? __('Chat Image')
: __('AI Chat'))))
@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')
@php
$route = 'dashboard.user.chat-setting.chat-template.create';
$customChat = \Illuminate\Support\Facades\Route::has($route) && (setting('chat_setting_for_customer', 1) == 1);
@endphp
@if($customChat)