File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ async def extract_hints(
8181 reasoning_effort = "high" ,
8282 )
8383
84- # response = await client.chat.completions.create(messages = [{"role": "user", "content": content}], model="dummy")
85-
8684 result = response .choices [0 ].message .content
8785
8886 # Check if result is empty, raise exception to trigger retry if empty
@@ -102,7 +100,7 @@ async def extract_hints(
102100async def get_gaia_answer_type (
103101 task_description : str , api_key : str , base_url : str = "https://api.openai.com/v1"
104102) -> str :
105- # client = AsyncOpenAI(api_key=api_key, timeout=600)
103+
106104 client = AsyncOpenAI (api_key = api_key , timeout = 600 , base_url = base_url )
107105
108106 instruction = f"""Input:
@@ -467,7 +465,6 @@ async def extract_gaia_final_answer(
467465 response = await client .chat .completions .create (
468466 model = "o3" ,
469467 messages = [{"role" : "user" , "content" : f"[{ message_id } ] { full_prompt } " }],
470- # reasoning_effort="medium",
471468 )
472469 result = response .choices [0 ].message .content
473470
You can’t perform that action at this time.
0 commit comments