mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
- Add modality detection (text/vision/code) to models store - Create comparison store for parallel multi-model streaming - Add ModelModalityFilter and ModelComparisonSelector components - Add ComparisonResponseCard with metrics (duration, tokens, t/s) - Add ComparisonMessageBubble for side-by-side response view - Integrate comparison mode into ChatInput, MessageList, Sidebar - Add dev:full script to start mana-llm + playground together - Add start.sh script for mana-llm Python service
28 lines
634 B
Bash
Executable file
28 lines
634 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Start mana-llm service
|
|
# Automatically creates venv and installs dependencies if needed
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
# Check if venv exists, create if not
|
|
if [ ! -d "venv" ]; then
|
|
echo "Creating virtual environment..."
|
|
python3 -m venv venv
|
|
fi
|
|
|
|
# Activate venv
|
|
source venv/bin/activate
|
|
|
|
# Install/update dependencies
|
|
pip install -q -r requirements.txt
|
|
|
|
# Copy .env if not exists
|
|
if [ ! -f ".env" ] && [ -f ".env.example" ]; then
|
|
cp .env.example .env
|
|
echo "Created .env from .env.example"
|
|
fi
|
|
|
|
# Start the service
|
|
echo "Starting mana-llm on port 3025..."
|
|
exec python -m uvicorn src.main:app --port 3025 --reload
|