v2.4.2 (#482)
Co-authored-by: Kim-Adeline Miguel <kimadeline.miguel@mistral.ai> Co-authored-by: Clement Sirieix <clem.sirieix@gmail.com> Co-authored-by: laurens <laurens@mistral.ai>
This commit is contained in:
parent
e9428bce23
commit
9421fbc08e
21 changed files with 370 additions and 40 deletions
|
|
@ -537,7 +537,11 @@ class VibeApp(App): # noqa: PLR0904
|
|||
if not self.agent_loop:
|
||||
return False
|
||||
|
||||
skill_name = user_input[1:].strip().lower()
|
||||
parts = user_input[1:].strip().split(None, 1)
|
||||
if not parts:
|
||||
return False
|
||||
skill_name = parts[0].lower()
|
||||
|
||||
skill_info = self.agent_loop.skill_manager.get_skill(skill_name)
|
||||
if not skill_info:
|
||||
return False
|
||||
|
|
@ -554,6 +558,9 @@ class VibeApp(App): # noqa: PLR0904
|
|||
)
|
||||
return True
|
||||
|
||||
if len(parts) > 1:
|
||||
skill_content = f"{user_input}\n\n{skill_content}"
|
||||
|
||||
await self._handle_user_message(skill_content)
|
||||
return True
|
||||
|
||||
|
|
@ -1599,7 +1606,7 @@ class VibeApp(App): # noqa: PLR0904
|
|||
f"{update_message_prefix}\nVibe was updated successfully. Please restart to use the new version.",
|
||||
title="Update successful",
|
||||
severity="information",
|
||||
timeout=10,
|
||||
timeout=float("inf"),
|
||||
)
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue