Update alphaear skills to use MiniMax as default LLM

Changes:
- Added 'minimax' provider to LLM factory
- Changed default LLM_PROVIDER from 'ust' to 'minimax'
- Changed default LLM_MODEL from 'Qwen' to 'MiniMax-Text-01'
- Updated REASONING_MODEL_PROVIDER and TOOL_MODEL_PROVIDER to minimax
- Sentiment tools now prefer MINIMAX_API_KEY over UST_KEY_API
- .env.example updated with MiniMax defaults
This commit is contained in:
Kunthawat Greethong
2026-03-27 10:27:00 +07:00
parent 58f9380ec4
commit 17930e9650
19 changed files with 425 additions and 680 deletions

View File

@@ -67,17 +67,20 @@ find_opencode_folders() {
install_all_to_folder() {
local target_dir="$1"
local count=0
mkdir -p "$target_dir"
for skill_dir in "$SKILLS_DIR"/*/; do
[ -d "$skill_dir" ] || continue
skill_name=$(basename "$skill_dir")
if [ -f "$skill_dir/SKILL.md" ]; then
[ -d "${target_dir}/${skill_name}" ] && rm -rf "${target_dir}/${skill_name}"
cp -r "$skill_dir" "${target_dir}/${skill_name}"
count=$((count + 1))
fi
done
if command -v rsync &> /dev/null; then
rsync -a --delete "$SKILLS_DIR/" "$target_dir/"
else
for skill_dir in "$SKILLS_DIR"/*/; do
[ -d "$skill_dir" ] || continue
skill_name=$(basename "$skill_dir")
if [ -f "$skill_dir/SKILL.md" ]; then
[ -d "${target_dir}/${skill_name}" ] && rm -rf "${target_dir}/${skill_name}"
cp -r "$skill_dir" "${target_dir}/${skill_name}"
fi
done
fi
local count=$(ls -d "$target_dir"/*/ 2>/dev/null | wc -l | tr -d ' ')
echo -e "${SUCCESS}[OK]${NC} Installed $count skills to ${target_dir}"
}