refactor: update model initialization to use settings.model across services

This commit is contained in:
2025-11-11 12:02:08 +00:00
parent 2b83ffe00c
commit 8d745c1f8e
5 changed files with 168 additions and 118 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class AIRulesMatcher:
def __init__(self):
self.client = groq.Groq(api_key=settings.GROQ_API_KEY)
self.model = "llama-3.1-8b-instant"
self.model = settings.model
def apply_rules_to_matches(
self, matches: List[Match], ai_rules: Optional[List[Dict]] = None