Delanoe Pirard commited on
Commit
091c996
·
1 Parent(s): c55bc0a

stockfish ubuntu

Browse files
Files changed (2) hide show
  1. agents/code_agent.py +2 -2
  2. app.py +1 -1
agents/code_agent.py CHANGED
@@ -67,7 +67,7 @@ def generate_python_code(prompt: str) -> str:
67
  model=gen_llm_model,
68
  api_key=gen_api_key,
69
  reasoning_effort="high",
70
- temperature=0.0,
71
  max_tokens=16384
72
  )
73
  logger.info(f"Using code generation LLM: {gen_llm_model}")
@@ -130,7 +130,7 @@ def initialize_code_agent() -> ReActAgent:
130
  llm = GoogleGenAI(
131
  api_key=gemini_api_key,
132
  model=agent_llm_model,
133
- temperature=0.0
134
  )
135
  logger.info(f"Using agent LLM: {agent_llm_model}")
136
 
 
67
  model=gen_llm_model,
68
  api_key=gen_api_key,
69
  reasoning_effort="high",
70
+ temperature=0.1,
71
  max_tokens=16384
72
  )
73
  logger.info(f"Using code generation LLM: {gen_llm_model}")
 
130
  llm = GoogleGenAI(
131
  api_key=gemini_api_key,
132
  model=agent_llm_model,
133
+ temperature=0.1
134
  )
135
  logger.info(f"Using agent LLM: {agent_llm_model}")
136
 
app.py CHANGED
@@ -387,7 +387,7 @@ async def run_and_submit_all( profile: gr.OAuthProfile | None):
387
  return "Failed to fetch questions.", None
388
 
389
  # 3. Process Questions
390
- questions_data = [questions_data[3]]
391
  for item in questions_data:
392
  answers = await process_question(agent, item, fetch_file_url)
393
  results_log.append(answers)
 
387
  return "Failed to fetch questions.", None
388
 
389
  # 3. Process Questions
390
+ # questions_data = [questions_data[3]]
391
  for item in questions_data:
392
  answers = await process_question(agent, item, fetch_file_url)
393
  results_log.append(answers)