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:
@@ -0,0 +1,11 @@
|
||||
from services.extraction.domain.config import ApiSettings
|
||||
|
||||
|
||||
def test_luna_is_the_default_model_for_extraction_and_normalization(monkeypatch) -> None:
|
||||
monkeypatch.delenv("EXTRACTOR_MODEL", raising=False)
|
||||
monkeypatch.delenv("NORMALIZER_MODEL", raising=False)
|
||||
|
||||
api = ApiSettings(_env_file=None)
|
||||
|
||||
assert api.extractor_model == "gpt-5.6-luna"
|
||||
assert api.normalizer_model == "gpt-5.6-luna"
|
||||
Reference in New Issue
Block a user