@if ($chat->type == 'private')
@if (trim($chat->model) == 'gpt-3.5-turbo-0125')
@elseif (trim($chat->model) == 'gpt-4-0125-preview')
@elseif (trim($chat->model) == 'gpt-4-turbo-2024-04-09')
@endif
@else
@foreach ($models as $model)
@if (trim($model) == 'gpt-4')
@elseif (trim($model) == 'gpt-4-0125-preview')
@elseif (trim($model) == 'gpt-4-turbo-2024-04-09')
@else
@foreach ($fine_tunes as $key=>$fine_tune)
@if (trim($model) == $fine_tune)
@endif
@endforeach
@endif
@endforeach
@endif