OverviewFilesCommitsIssuesDocsReleasesPeers

ollama_semantic_function_calling commits / 786b29a

Add scripts to run Keet bot on primary and secondary devices
786b29a7eb8c7fd3239b8c5568ddb0f609a29575
by fleeky.ashatron <fleeky@7rnx.net> · 2025-04-21T18:46:17.000Z

Changed files (2) +42 -0

ollamatools-new/run_keet_bot.sh +21 -0
……@@ -0,0 +1,21 @@
1#!/bin/bash
2# Script to run the Keet bot with the updated identity
3
4# Set the storage directory
5STORAGE_DIR="test-keet-storage"
6
7# Check if a room key was provided
8if [ -z "$1" ]; then
9 echo "Usage: $0 <room-key> [model]"
10 echo "Example: $0 pear://keet/abcdef123456 llama3.1:latest"
11 exit 1
12fi
13
14ROOM_KEY="$1"
15
16# Set the model (default to llama3.1:latest if not provided)
17MODEL=${2:-"llama3.1:latest"}
18
19# Run the Keet bot
20echo "Starting Keet bot with room key: $ROOM_KEY and model: $MODEL"
21node tests/keet_cmd.js --room-key="$ROOM_KEY" --storage="$STORAGE_DIR" --model="$MODEL" --verbose
ollamatools-new/run_second_device.sh +21 -0
……@@ -0,0 +1,21 @@
1#!/bin/bash
2# Script to run the Keet bot on the second device
3
4# Set the storage directory
5STORAGE_DIR="second-device-keet/storage"
6
7# Check if a room key was provided
8if [ -z "$1" ]; then
9 echo "Usage: $0 <room-key> [model]"
10 echo "Example: $0 pear://keet/abcdef123456 llama3.1:latest"
11 exit 1
12fi
13
14ROOM_KEY="$1"
15
16# Set the model (default to llama3.1:latest if not provided)
17MODEL=${2:-"llama3.1:latest"}
18
19# Run the Keet bot on the second device
20echo "Starting Keet bot on second device with room key: $ROOM_KEY and model: $MODEL"
21node second-device-keet/keet_cmd.js --room-key="$ROOM_KEY" --storage="$STORAGE_DIR" --model="$MODEL" --name="KeetBot Mobile" --verbose