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:
2025-08-26 10:39:18 +02:00
parent 44dd0f2867
commit 9b1f6a479f
69 changed files with 17232 additions and 1263 deletions

View File

@@ -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');