mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-09-13 19:52:20 +02:00
28 lines
656 B
Python
28 lines
656 B
Python
"""Regression coverage for structured-thinking model detection."""
|
|
|
|
import os
|
|
|
|
os.environ.setdefault("DATABASE_URL", "sqlite:///:memory:")
|
|
|
|
import pytest
|
|
|
|
from src.llm_core import _supports_thinking
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"model",
|
|
[
|
|
"deepseek-v4",
|
|
"deepseek-v4-flash",
|
|
"DeepSeek-V4-Flash",
|
|
"deepseek/deepseek-v4-flash",
|
|
],
|
|
)
|
|
def test_deepseek_v4_models_support_thinking(model):
|
|
assert _supports_thinking(model) is True
|
|
|
|
|
|
@pytest.mark.parametrize("model", ["deepseek-v3", "deepseek-chat"])
|
|
def test_other_deepseek_models_are_not_promoted_to_thinking(model):
|
|
assert _supports_thinking(model) is False
|