File size: 640 Bytes
519b145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Quick script để switch LLM provider
# Usage: ./llm_switch.sh [local|api|openai|anthropic|ollama|none]

PROVIDER=${1:-show}

case $PROVIDER in
    local)
        python3 switch_llm_provider.py local
        ;;
    api)
        python3 switch_llm_provider.py api
        ;;
    openai)
        python3 switch_llm_provider.py openai
        ;;
    anthropic)
        python3 switch_llm_provider.py anthropic
        ;;
    ollama)
        python3 switch_llm_provider.py ollama
        ;;
    none)
        python3 switch_llm_provider.py none
        ;;
    show|*)
        python3 switch_llm_provider.py show
        ;;
esac