tianzijian commited on
Commit
f958cdd
·
verified ·
1 Parent(s): 92cdf4f

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -3
entrypoint.sh CHANGED
@@ -109,20 +109,20 @@ detect_main_model() {
109
  # ---- 检测辅助模型 ----
110
  detect_vision_model() {
111
  if [ -n "$VISION_MODEL" ]; then echo "$VISION_MODEL"; return; fi
112
- if [ -n "$GEMINI_API_KEY" ] || [ -n "$GOOGLE_API_KEY" ]; then echo "google/gemini-2.5-flash"; return; fi
113
  echo ""
114
  }
115
 
116
  detect_aux_model() {
117
  if [ -n "$AUX_MODEL" ]; then echo "$AUX_MODEL"; return; fi
118
  if [ -n "$OPENROUTER_API_KEY" ]; then echo "google/gemini-3-flash-preview"; return; fi
119
- if [ -n "$GEMINI_API_KEY" ] || [ -n "$GOOGLE_API_KEY" ]; then echo "google/gemini-2.0-flash"; return; fi
120
  echo ""
121
  }
122
 
123
  detect_delegation_model() {
124
  if [ -n "$DELEGATION_MODEL" ]; then echo "$DELEGATION_MODEL"; return; fi
125
- if [ -n "$SILICONFLOW_API_KEY" ]; then echo "Pro/moonshotai/Kimi-K2.5"; return; fi
126
  echo ""
127
  }
128
 
 
109
  # ---- 检测辅助模型 ----
110
  detect_vision_model() {
111
  if [ -n "$VISION_MODEL" ]; then echo "$VISION_MODEL"; return; fi
112
+ if [ -n "$NVIDIA_API_KEY" ]; then echo "qwen/qwen3.5-122b-a10b"; return; fi
113
  echo ""
114
  }
115
 
116
  detect_aux_model() {
117
  if [ -n "$AUX_MODEL" ]; then echo "$AUX_MODEL"; return; fi
118
  if [ -n "$OPENROUTER_API_KEY" ]; then echo "google/gemini-3-flash-preview"; return; fi
119
+ if [ -n "$NVIDIA_API_KEY" ]; then echo "microsoft/phi-4-multimodal-instruct"; return; fi
120
  echo ""
121
  }
122
 
123
  detect_delegation_model() {
124
  if [ -n "$DELEGATION_MODEL" ]; then echo "$DELEGATION_MODEL"; return; fi
125
+ if [ -n "$NVIDIA_API_KEY" ]; then echo "moonshotai/kimi-k2.6"; return; fi
126
  echo ""
127
  }
128