tianzijian commited on
Commit
99b30b6
·
verified ·
1 Parent(s): 5205ed8

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -3
entrypoint.sh CHANGED
@@ -99,14 +99,14 @@ detect_main_model() {
99
  # ---- 检测辅助模型 ----
100
  detect_vision_model() {
101
  if [ -n "$VISION_MODEL" ]; then echo "$VISION_MODEL"; return; fi
102
- if [ -n "$GEMINI_API_KEY" ] || [ -n "$GOOGLE_API_KEY" ]; then echo "google/gemini-2.5-flash"; return; fi
103
  echo ""
104
  }
105
 
106
  detect_aux_model() {
107
  if [ -n "$AUX_MODEL" ]; then echo "$AUX_MODEL"; return; fi
108
- if [ -n "$OPENROUTER_API_KEY" ]; then echo "google/gemini-3-flash-preview"; return; fi
109
- if [ -n "$GEMINI_API_KEY" ] || [ -n "$GOOGLE_API_KEY" ]; then echo "google/gemini-2.0-flash"; return; fi
110
  echo ""
111
  }
112
 
 
99
  # ---- 检测辅助模型 ----
100
  detect_vision_model() {
101
  if [ -n "$VISION_MODEL" ]; then echo "$VISION_MODEL"; return; fi
102
+ if [ -n "$NVIDIA_API_KEY" ]; then echo "qwen/qwen3.5-397b-a17b"; return; fi
103
  echo ""
104
  }
105
 
106
  detect_aux_model() {
107
  if [ -n "$AUX_MODEL" ]; then echo "$AUX_MODEL"; return; fi
108
+ if [ -n "$NVIDIA_API_KEY" ]; then echo "moonshotai/kimi-k2.6"; return; fi
109
+ if [ -n "$NVIDIA_API_KEY" ]; then echo "qwen/qwen3.5-122b-a10b"; return; fi
110
  echo ""
111
  }
112