v2.18.4 (#866)
Co-authored-by: Albert Jiang <aj@mistral.ai> Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Laure Hugo <201583486+laure0303@users.noreply.github.com> Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai> Co-authored-by: Mert Unsal <mert.unsal@mistral.ai> Co-authored-by: Michel Thomazo <51709227+michelTho@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: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
4e495f658d
commit
ac8f1a09fd
83 changed files with 1979 additions and 572 deletions
|
|
@ -344,6 +344,15 @@ class TestAgentProfileOverrides:
|
|||
overrides = BUILTIN_AGENTS[BuiltinAgentName.AUTO_APPROVE].overrides
|
||||
assert overrides.get("bypass_tool_permissions") is True
|
||||
|
||||
def test_lean_agent_keeps_tool_permissions_configurable(self) -> None:
|
||||
overrides = BUILTIN_AGENTS[BuiltinAgentName.LEAN].overrides
|
||||
assert "bypass_tool_permissions" not in overrides
|
||||
|
||||
def test_lean_agent_uses_latest_model(self) -> None:
|
||||
overrides = BUILTIN_AGENTS[BuiltinAgentName.LEAN].overrides
|
||||
models = overrides["models"]
|
||||
assert models[0]["name"] == "labs-leanstral-1-5"
|
||||
|
||||
def test_plan_agent_restricts_tools(self) -> None:
|
||||
overrides = BUILTIN_AGENTS[BuiltinAgentName.PLAN].overrides
|
||||
assert "tools" in overrides
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue