From 6d09ffefe99c5b7e4bc1aa4545362217ee11fae9 Mon Sep 17 00:00:00 2001 From: sanj <67624670+iodrift@users.noreply.github.com> Date: Sun, 26 Jan 2025 11:16:46 -0800 Subject: [PATCH] Auto-update: Sun Jan 26 11:16:46 PST 2025 --- config.yaml-example | 1 + llux.sh | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 llux.sh diff --git a/config.yaml-example b/config.yaml-example index f59843e..301420c 100644 --- a/config.yaml-example +++ b/config.yaml-example @@ -22,6 +22,7 @@ ollama: llama3.3: "llama3.3" llama3.2: "llama3.2:1b" llava3.2: "llama3.2-vision:11b" + deepseek: "deepseek-r1:32b" default_model: "llama3.3" vision_model: "llava3.2" diff --git a/llux.sh b/llux.sh new file mode 100755 index 0000000..b5c9c60 --- /dev/null +++ b/llux.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Create a new tmux session or attach to an existing one with the name "llux" +SESSION_NAME="llux" + +# Check if the session already exists +if ! tmux has-session -t "$SESSION_NAME"; then + # If not, create it and run the python script inside + tmux new-session -d -s "$SESSION_NAME" "python /Users/sij/home/workshop/llux/llux.py --debug" +else + # If the session exists, attach to it and send the command to a new window + tmux new-window -t "$SESSION_NAME" "python /Users/sij/home/workshop/llux/llux.py --debug" +fi + +# Optionally, you can also detach from the session immediately after creating/attaching to it +tmux detach-client -s "$SESSION_NAME" + +