M.Natale commited on
Commit
975cb18
·
1 Parent(s): 796fb6a
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -22,7 +22,6 @@ tool = [
22
  class BasicAgent:
23
  def __init__(self):
24
  self.agent = CodeAgent(
25
-
26
  model= InferenceClientModel(model_id="openai/gpt-oss-20b", max_tokens=2048, provider="together"),
27
  tools=tool,
28
  max_steps=7,
@@ -35,7 +34,6 @@ class BasicAgent:
35
  def __call__(self, question: str) -> str:
36
  print(f"Agent received question (first 50 chars): {question[:50]}...")
37
  # fixed_answer = "This is a default answer."
38
- self.agent.system_prompt
39
  fixed_answer = self.agent.run(question)
40
  print(f"Agent returning fixed answer: {fixed_answer}")
41
  return fixed_answer
 
22
  class BasicAgent:
23
  def __init__(self):
24
  self.agent = CodeAgent(
 
25
  model= InferenceClientModel(model_id="openai/gpt-oss-20b", max_tokens=2048, provider="together"),
26
  tools=tool,
27
  max_steps=7,
 
34
  def __call__(self, question: str) -> str:
35
  print(f"Agent received question (first 50 chars): {question[:50]}...")
36
  # fixed_answer = "This is a default answer."
 
37
  fixed_answer = self.agent.run(question)
38
  print(f"Agent returning fixed answer: {fixed_answer}")
39
  return fixed_answer