@php
$defaultModels = $aiEngine->getDefaultModels($setting, $settings_two);
$modelsWithoutDefault = $aiEngine->getListableActiveModels($setting, $settings_two);
@endphp
@foreach ($defaultModels as $defaultModel)
{{ $defaultModel->tooltipHowToCalc() }}
@php
$key = $defaultModel->engine()->slug().'.'.$defaultModel->slug();
if (data_get($costs, $key . '.isUnlimited')) {
$cost = '∞';
} else{
$cost = '$' . data_get($costs, $key.'.credit', 0.00);
}
@endphp
{{ trans('Estimated cost (USD): '). $cost }}
@endforeach
@if ($modelsWithoutDefault->count() > 0)
{{ __('View All') }}
@lang('These model credits listed below will not be visible to the user and cannot be used until the model is set as the default in the related settings page.')
@foreach ($modelsWithoutDefault as $entity)
{{ $entity->key->tooltipHowToCalc() }}
@php
$key = $entity->engine->slug().'.'.$entity->key->slug();
if (data_get($costs, $key . '.isUnlimited')) {
$cost = '∞';
} else{
$cost = '$' . data_get($costs, $key.'.credit', 0.00);
}
@endphp
{{ trans('Estimated cost (USD): '). $cost }}
@endforeach
@endif
@endif
@endforeach
@if(count($totals) && $plan)