fix: fix ZOPK project filter and use working Gemini model
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a52df188fc
commit
a30306b353
@ -168,7 +168,7 @@ def match_company(company, projects, gemini_service, db, dry_run=False):
|
||||
temperature=0.3,
|
||||
feature='zopk_company_matching',
|
||||
company_id=company.id,
|
||||
model='3.1-pro', # Najmocniejszy model — kluczowa analiza biznesowa
|
||||
model='3-flash', # Gemini 3 Flash thinking mode — najlepszy dostępny
|
||||
)
|
||||
|
||||
if not response_text:
|
||||
@ -264,7 +264,7 @@ def main():
|
||||
try:
|
||||
# Get ZOPK projects
|
||||
projects = db.query(ZOPKProject).filter(
|
||||
ZOPKProject.is_active == True
|
||||
ZOPKProject.is_active.isnot(False)
|
||||
).order_by(ZOPKProject.id).all()
|
||||
logger.info(f"Loaded {len(projects)} ZOPK projects")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user