Merge branch 'main' of https://git.igny8.com/salman/igny8
This commit is contained in:
@@ -137,6 +137,25 @@ class IntegrationSettings(AccountBaseModel):
|
||||
)
|
||||
)
|
||||
is_active = models.BooleanField(default=True)
|
||||
|
||||
# AI Model Selection (NEW)
|
||||
default_text_model = models.ForeignKey(
|
||||
'billing.AIModelConfig',
|
||||
on_delete=models.SET_NULL,
|
||||
null=True,
|
||||
blank=True,
|
||||
related_name='text_integrations',
|
||||
help_text="Default AI model for text generation operations"
|
||||
)
|
||||
default_image_model = models.ForeignKey(
|
||||
'billing.AIModelConfig',
|
||||
on_delete=models.SET_NULL,
|
||||
null=True,
|
||||
blank=True,
|
||||
related_name='image_integrations',
|
||||
help_text="Default AI model for image generation operations"
|
||||
)
|
||||
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user