Co-authored-by: Clément Drouin <clement.drouin@mistral.ai>
Co-authored-by: Clément Sirieix <clement.sirieix@mistral.ai>
Co-authored-by: Cyprien <courtot.c@gmail.com>
Co-authored-by: Guillaume LE GOFF <guillaume.lgf@gmail.com>
Co-authored-by: Jean Burellier <sheplu@users.noreply.github.com>
Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>
Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai>
Co-authored-by: Nelson PROIA <144663685+Nelson-PROIA@users.noreply.github.com>
Co-authored-by: Paul VEZIA <166131032+le-codeur-rapide@users.noreply.github.com>
Co-authored-by: Pierre Rossinès <pierre.rossines@mistral.ai>
Co-authored-by: Quentin <quentin.torroba@mistral.ai>
Co-authored-by: Vincent G <10739306+VinceOPS@users.noreply.github.com>
Co-authored-by: josephine-delas <57808586+josephine-delas@users.noreply.github.com>
Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Laure Hugo 2026-06-25 16:08:45 +02:00 committed by GitHub
parent 725d3a56ce
commit e607ccbb00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
242 changed files with 7372 additions and 1974 deletions

View file

@ -20,8 +20,6 @@ def test_get_universal_system_prompt_includes_windows_prompt_on_windows(
monkeypatch.setenv("COMSPEC", "C:\\Windows\\System32\\cmd.exe")
config = build_test_vibe_config(
system_prompt_id="tests",
include_project_context=False,
include_prompt_detail=True,
include_model_info=False,
include_commit_signature=False,
@ -49,8 +47,6 @@ def test_get_universal_system_prompt_includes_windows_prompt_on_windows(
def test_scratchpad_section_included_when_passed() -> None:
sp = init_scratchpad("test-session")
config = build_test_vibe_config(
system_prompt_id="tests",
include_project_context=False,
include_prompt_detail=True,
include_model_info=False,
include_commit_signature=False,
@ -70,8 +66,6 @@ def test_scratchpad_section_included_when_passed() -> None:
def test_scratchpad_section_absent_when_not_passed() -> None:
config = build_test_vibe_config(
system_prompt_id="tests",
include_project_context=False,
include_prompt_detail=True,
include_model_info=False,
include_commit_signature=False,
@ -89,11 +83,7 @@ def test_scratchpad_section_absent_when_not_passed() -> None:
def test_headless_section_included_when_enabled() -> None:
config = build_test_vibe_config(
system_prompt_id="tests",
include_project_context=False,
include_prompt_detail=False,
include_model_info=False,
include_commit_signature=False,
include_model_info=False, include_commit_signature=False
)
tool_manager = ToolManager(lambda: config)
skill_manager = SkillManager(lambda: config)
@ -109,11 +99,7 @@ def test_headless_section_included_when_enabled() -> None:
def test_headless_section_absent_by_default() -> None:
config = build_test_vibe_config(
system_prompt_id="tests",
include_project_context=False,
include_prompt_detail=False,
include_model_info=False,
include_commit_signature=False,
include_model_info=False, include_commit_signature=False
)
tool_manager = ToolManager(lambda: config)
skill_manager = SkillManager(lambda: config)
@ -128,11 +114,7 @@ def test_headless_section_absent_by_default() -> None:
def test_current_date_placeholder_substituted_in_prompt() -> None:
config = build_test_vibe_config(
system_prompt_id="cli",
include_project_context=False,
include_prompt_detail=False,
include_model_info=False,
include_commit_signature=False,
system_prompt_id="cli", include_model_info=False, include_commit_signature=False
)
tool_manager = ToolManager(lambda: config)
skill_manager = SkillManager(lambda: config)