2.1.0 (#317)
Co-authored-by: Quentin Torroba <quentin.torroba@mistral.ai> Co-authored-by: Michel Thomazo <michel.thomazo@mistral.ai> Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Vincent Guilloux <vincent.guilloux@mistral.ai> Co-authored-by: Clément Siriex <clement.sirieix@mistral.ai> Co-authored-by: Kim-Adeline Miguel <kimadeline.miguel@mistral.ai> Co-authored-by: Nicolas Karolak <nicolas@karolak.fr>
This commit is contained in:
parent
9809cfc831
commit
51fecc67d9
176 changed files with 8652 additions and 4451 deletions
|
|
@ -8,6 +8,7 @@ from unittest.mock import MagicMock, patch
|
|||
|
||||
import pytest
|
||||
|
||||
from tests.conftest import build_test_vibe_config
|
||||
from vibe.core.agents.models import AgentProfile, AgentSafety
|
||||
from vibe.core.config import SessionLoggingConfig, VibeConfig
|
||||
from vibe.core.session.session_logger import SessionLogger
|
||||
|
|
@ -62,7 +63,7 @@ def mock_tool_manager() -> ToolManager:
|
|||
@pytest.fixture
|
||||
def mock_vibe_config() -> VibeConfig:
|
||||
"""Create a mock vibe config for testing."""
|
||||
return VibeConfig(active_model="test-model", models=[], providers=[])
|
||||
return build_test_vibe_config(active_model="test-model", models=[], providers=[])
|
||||
|
||||
|
||||
class TestSessionLoggerInitialization:
|
||||
|
|
@ -171,7 +172,9 @@ class TestSessionLoggerSaveInteraction:
|
|||
result = await logger.save_interaction(
|
||||
messages=[],
|
||||
stats=AgentStats(),
|
||||
base_config=VibeConfig(active_model="test", models=[], providers=[]),
|
||||
base_config=build_test_vibe_config(
|
||||
active_model="test", models=[], providers=[]
|
||||
),
|
||||
tool_manager=MagicMock(),
|
||||
agent_profile=AgentProfile(
|
||||
name="test",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue