Álvaro Valenzuela Valdes commited on
Commit ·
f7cc442
1
Parent(s): 9bdb2e0
🚀 Fix: NameError List to list
Browse files
backend/app/services/llm.py
CHANGED
|
@@ -306,7 +306,7 @@ async def generate_proposal_draft(analysis: dict, company: CompanyProfile) -> st
|
|
| 306 |
|
| 307 |
return await call_gemini_with_model(prompt, model_name="Llama-3.3-70B (Groq)" if settings.groq_api_key else "Gemini 2.5 Flash")
|
| 308 |
|
| 309 |
-
async def generate_synthetic_tenders(keyword: str) ->
|
| 310 |
"""
|
| 311 |
Generates realistic synthetic tenders with coherent bidding documents (bases)
|
| 312 |
when official sources are unavailable or empty.
|
|
|
|
| 306 |
|
| 307 |
return await call_gemini_with_model(prompt, model_name="Llama-3.3-70B (Groq)" if settings.groq_api_key else "Gemini 2.5 Flash")
|
| 308 |
|
| 309 |
+
async def generate_synthetic_tenders(keyword: str) -> list[Tender]:
|
| 310 |
"""
|
| 311 |
Generates realistic synthetic tenders with coherent bidding documents (bases)
|
| 312 |
when official sources are unavailable or empty.
|