fixed migrations, changed settings to global settings, changed image list to have a "delete all" button instead of "create", fixed printing, added imagick for printing.
This commit is contained in:
@@ -20,6 +20,11 @@ class AiModel extends Model
|
||||
'parameters' => 'array',
|
||||
];
|
||||
|
||||
public function primaryApiProvider()
|
||||
{
|
||||
return $this->belongsTo(ApiProvider::class, 'api_provider_id');
|
||||
}
|
||||
|
||||
public function apiProviders()
|
||||
{
|
||||
return $this->belongsToMany(ApiProvider::class, 'ai_model_api_provider');
|
||||
|
||||
Reference in New Issue
Block a user