- Context windows (contexts/*.yaml) scope answers to a defined domain - Optional DuckDuckGo web search behind ai.web_search.enabled (default off) - Stream partial answers into the overlay at first-token time - Default Whisper to local base.en (~9x faster); offline model loading - Priority-ordered loopback detection (BlackHole > Teams device) - Overlay: drag interior to move, edges to resize - Stop tracking model binaries (models/ is gitignored) - README/CLAUDE.md overhaul + tracked config.example.yaml Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
40 lines
1.4 KiB
Bash
Executable File
40 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
|
|
echo "🎙️ Starting Meeting Assistant..."
|
|
|
|
# Use the corporate-aware CA bundle (system + corporate + public CAs) so model
|
|
# downloads / revalidation work behind SSL-inspecting proxies. See README.
|
|
if [ -f "certs/corp_ca_bundle.pem" ]; then
|
|
export SSL_CERT_FILE="$SCRIPT_DIR/certs/corp_ca_bundle.pem"
|
|
export REQUESTS_CA_BUNDLE="$SSL_CERT_FILE"
|
|
export CURL_CA_BUNDLE="$SSL_CERT_FILE"
|
|
fi
|
|
# hf-xet has been flaky behind proxies; plain HTTPS transfers are more reliable.
|
|
export HF_HUB_DISABLE_XET=1
|
|
|
|
# Activate virtual environment
|
|
if [ -d ".venv" ]; then
|
|
source .venv/bin/activate
|
|
echo "✅ Using virtual environment: .venv"
|
|
else
|
|
echo "⚠️ No .venv found — using system Python"
|
|
echo " Run: python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt"
|
|
fi
|
|
|
|
# Install PortAudio if needed (macOS). Skip Homebrew's auto-update (slow/can fail
|
|
# behind restricted networks) and never let a brew hiccup abort the launcher —
|
|
# PortAudio is usually already present.
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
export HOMEBREW_NO_AUTO_UPDATE=1
|
|
if command -v brew &> /dev/null && ! brew list portaudio &> /dev/null 2>&1; then
|
|
echo "📦 Installing PortAudio via Homebrew..."
|
|
brew install portaudio || echo "⚠️ PortAudio install failed — continuing (may already be present)"
|
|
fi
|
|
fi
|
|
|
|
python3 main.py
|