Skip to content

Commit f6a9797

Browse files
committed
to incorporate copilot
1 parent 7623afc commit f6a9797

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/utils/summary_utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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(
102100
async 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

0 commit comments

Comments
 (0)