kenqia commited on
Commit
39e9408
·
verified ·
1 Parent(s): b350871

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +2 -2
tools.py CHANGED
@@ -219,7 +219,7 @@ def answer_image_question(task_id: str = "", file_path: str = "", question: str
219
  """.strip()
220
 
221
  response = client.chat.completions.create(
222
- model=os.getenv("DASHSCOPE_VL_MODEL", "qwen-vl-plus-latest"),
223
  messages=[
224
  {
225
  "role": "user",
@@ -647,7 +647,7 @@ def _extract_final_answer_from_transcript(
647
  This is intentionally separate from transcription to reduce hallucination.
648
  """
649
  client = _dashscope_client()
650
- text_model = os.getenv("DASHSCOPE_TEXT_MODEL", "qwen-plus")
651
 
652
  prompt = f"""
653
  You are an exact-match answer extractor for an evaluation benchmark.
 
219
  """.strip()
220
 
221
  response = client.chat.completions.create(
222
+ model=os.getenv("DASHSCOPE_VL_MODEL", "qwen3.6-plus"),
223
  messages=[
224
  {
225
  "role": "user",
 
647
  This is intentionally separate from transcription to reduce hallucination.
648
  """
649
  client = _dashscope_client()
650
+ text_model = os.getenv("DASHSCOPE_TEXT_MODEL", "qwen3.5-flash")
651
 
652
  prompt = f"""
653
  You are an exact-match answer extractor for an evaluation benchmark.