feat: Update default models for extraction and normalization to GPT-5.6 Luna across configuration files and documentation. Remove deprecated code and improve pricing details in the UI components. Add tests to ensure correct model settings and pricing calculations.
This commit is contained in:
@@ -21,7 +21,6 @@ from .batch_processor import BatchProcessor
|
||||
from .estimator import Estimator
|
||||
from core.pdf_utils import document_to_images_bs64
|
||||
from core.text_utils import extract_json_from_text, build_schema
|
||||
from core.utils import find_first_matching_file
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -49,11 +48,6 @@ class InvoiceProcessingService:
|
||||
|
||||
# Lock para escrituras concurrentes al mismo CSV desde múltiples hilos
|
||||
# (Mantenido por retrocompatibilidad si se accede directo, aunque BatchProcessor usa su propio CSVManager)
|
||||
try:
|
||||
import threading
|
||||
self._csv_lock = threading.Lock()
|
||||
except Exception:
|
||||
self._csv_lock = None
|
||||
|
||||
def _convert_to_images(self, pdf_path: str, dpi: int, thread_count: int, tiff_pages: Optional[Tuple[int, int]], tiff_page_range: Optional[Tuple[int, int]]) -> List[str]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user