v2.14.0 (#743)
Co-authored-by: Alexis Tacnet <alexis@mistral.ai> Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Guillaume LE GOFF <guillaume.lgf@gmail.com> Co-authored-by: Lucas Marandat <31749711+lucasmrdt@users.noreply.github.com> Co-authored-by: Maxime Dolores <maxime.dolores@ext.mistral.ai> Co-authored-by: Pierre Rossinès <pierre.rossines@mistral.ai> Co-authored-by: Quentin <quentin.torroba@mistral.ai> Co-authored-by: Val <102326092+vdeva@users.noreply.github.com> Co-authored-by: Vincent G <10739306+VinceOPS@users.noreply.github.com> Co-authored-by: p.vezia <166131032+le-codeur-rapide@users.noreply.github.com> Co-authored-by: Hiba Chaabnia <Hiba-Chaabnia@users.noreply.github.com> Co-authored-by: Nikhil Bhima <nikhilbhima@users.noreply.github.com> Co-authored-by: Nkipohcs <Nkipohcs@users.noreply.github.com> Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
ad0d5c9520
commit
3f8487f761
197 changed files with 10819 additions and 2830 deletions
|
|
@ -10,7 +10,7 @@ from textual.pilot import Pilot
|
|||
from tests.snapshots.snap_compare import SnapCompare
|
||||
from vibe.cli.textual_ui.widgets.status_message import StatusMessage
|
||||
from vibe.cli.textual_ui.widgets.tools import ToolCallMessage
|
||||
from vibe.core.tools.builtins.read_file import ReadFile, ReadFileArgs
|
||||
from vibe.core.tools.builtins.read import Read, ReadArgs
|
||||
from vibe.core.types import ToolCallEvent
|
||||
|
||||
|
||||
|
|
@ -25,8 +25,8 @@ class ToolCallStreamingUpdateTest(App):
|
|||
partial_event = ToolCallEvent(
|
||||
tool_call_id="tc_streaming",
|
||||
tool_call_index=0,
|
||||
tool_name="read_file",
|
||||
tool_class=ReadFile,
|
||||
tool_name="read",
|
||||
tool_class=Read,
|
||||
args=None,
|
||||
)
|
||||
self._widget = ToolCallMessage(partial_event)
|
||||
|
|
@ -41,9 +41,9 @@ class ToolCallStreamingUpdateTest(App):
|
|||
full_event = ToolCallEvent(
|
||||
tool_call_id="tc_streaming",
|
||||
tool_call_index=0,
|
||||
tool_name="read_file",
|
||||
tool_class=ReadFile,
|
||||
args=ReadFileArgs(path="/test/example.py"),
|
||||
tool_name="read",
|
||||
tool_class=Read,
|
||||
args=ReadArgs(file_path="/test/example.py"),
|
||||
)
|
||||
self._widget.update_event(full_event)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue