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
|
|
@ -78,6 +78,15 @@ function install_uv() {
|
|||
fi
|
||||
}
|
||||
|
||||
function check_vibe_installed() {
|
||||
if command -v vibe &> /dev/null; then
|
||||
info "vibe is already installed"
|
||||
VIBE_INSTALLED=true
|
||||
else
|
||||
VIBE_INSTALLED=false
|
||||
fi
|
||||
}
|
||||
|
||||
function install_vibe() {
|
||||
info "Installing mistral-vibe from GitHub repository using uv..."
|
||||
uv tool install mistral-vibe
|
||||
|
|
@ -85,6 +94,13 @@ function install_vibe() {
|
|||
success "Mistral Vibe installed successfully! (commands: vibe, vibe-acp)"
|
||||
}
|
||||
|
||||
function update_vibe() {
|
||||
info "Updating mistral-vibe from GitHub repository using uv..."
|
||||
uv tool upgrade mistral-vibe
|
||||
|
||||
success "Mistral Vibe updated successfully!"
|
||||
}
|
||||
|
||||
function main() {
|
||||
echo
|
||||
echo "██████████████████░░"
|
||||
|
|
@ -108,7 +124,13 @@ function main() {
|
|||
install_uv
|
||||
fi
|
||||
|
||||
install_vibe
|
||||
check_vibe_installed
|
||||
|
||||
if [[ "$VIBE_INSTALLED" == "false" ]]; then
|
||||
install_vibe
|
||||
else
|
||||
update_vibe
|
||||
fi
|
||||
|
||||
if command -v vibe &> /dev/null; then
|
||||
success "Installation completed successfully!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue