12 lines
404 B
Python
12 lines
404 B
Python
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"
|