fix: recognize Dutch evolution questions
This commit is contained in:
@@ -86,6 +86,18 @@ def test_geo_assistant_rejects_model_that_is_not_installed(monkeypatch) -> None:
|
||||
assert exc_info.value.code == "OLLAMA_MODEL_UNAVAILABLE"
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"question",
|
||||
[
|
||||
"Hoe evolueerden bevolking en bosoppervlakte?",
|
||||
"Toon de historische ontwikkeling van water.",
|
||||
"Welke trend zien we sinds 2013?",
|
||||
],
|
||||
)
|
||||
def test_geo_assistant_recognizes_dutch_historical_questions(question: str) -> None:
|
||||
assert GeoAssistantService.history_requested(question) is True
|
||||
|
||||
|
||||
def test_geo_assistant_sends_grounded_context_without_thinking_trace(monkeypatch) -> None:
|
||||
service = GeoAssistantService(ollama_settings())
|
||||
project_id = uuid4()
|
||||
|
||||
Reference in New Issue
Block a user