@extends('layouts.app') @section('title', 'QuickSell AI') @section('content')

QuickSell AI Evidence-backed business assistant

@if(empty($setting) || !$setting->is_enabled || !$setting->hasApiKey())
AI is not ready. An administrator must configure and enable a provider.
@endif
{{ $conversation->title ?? 'New conversation' }}
Answers use your role and permitted locations
@if(auth()->user()->can('superadmin') || auth()->user()->can('ai.generate_reports')) AI Reports@endif
@if(!empty($conversation) && $conversation->messages->count()) @foreach($conversation->messages->whereIn('role', ['user','assistant']) as $message)
@if($message->role === 'assistant') {!! $message->rendered_content !!} @else {{ $message->content }} @endif
@if($message->role === 'assistant')
{{ $message->tool_name ? 'Source: '.str_replace('_',' ', $message->tool_name).' • ' : '' }}{{ $message->created_at->format('d M Y, h:i A') }}
@endif
@endforeach @else

What would you like to know?

QuickSell AI retrieves live, permission-scoped data before answering business questions.

@endif
Checking QuickSell data and preparing an answer…
Press Enter to send · Shift+Enter for a new line
@endsection @section('javascript') @endsection