Sonar code smell sure

This commit is contained in:
shamoon
2025-09-14 16:17:53 -07:00
parent 9837407879
commit 4318f7dac3
2 changed files with 0 additions and 12 deletions

View File

@@ -291,7 +291,6 @@ class ApplicationConfiguration(AbstractSingletonModel):
llm_embedding_backend = models.CharField(
verbose_name=_("Sets the LLM embedding backend"),
null=True,
blank=True,
max_length=32,
choices=LLMEmbeddingBackend.choices,
@@ -299,14 +298,12 @@ class ApplicationConfiguration(AbstractSingletonModel):
llm_embedding_model = models.CharField(
verbose_name=_("Sets the LLM embedding model"),
null=True,
blank=True,
max_length=32,
)
llm_backend = models.CharField(
verbose_name=_("Sets the LLM backend"),
null=True,
blank=True,
max_length=32,
choices=LLMBackend.choices,
@@ -314,21 +311,18 @@ class ApplicationConfiguration(AbstractSingletonModel):
llm_model = models.CharField(
verbose_name=_("Sets the LLM model"),
null=True,
blank=True,
max_length=32,
)
llm_api_key = models.CharField(
verbose_name=_("Sets the LLM API key"),
null=True,
blank=True,
max_length=128,
)
llm_endpoint = models.CharField(
verbose_name=_("Sets the LLM endpoint, optional"),
null=True,
blank=True,
max_length=128,
)