Toumaima commited on
Commit
624af17
·
verified ·
1 Parent(s): 918eee5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ class BasicAgent:
22
  print("BasicAgent initialized.")
23
  self.agent = CodeAgent(tools=[DuckDuckGoSearchTool()],
24
  model=HfApiModel(
25
- api_key=os.getenv("HF_TOKEN"),
26
- model_name="mistralai/Mistral-7B-Instruct-v0.1" # Or another accessible model
27
  ))
28
 
29
  SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question. Report your thoughts, and
 
22
  print("BasicAgent initialized.")
23
  self.agent = CodeAgent(tools=[DuckDuckGoSearchTool()],
24
  model=HfApiModel(
25
+ model_name="mistralai/Mistral-7B-Instruct-v0.1" , # Or another accessible model
26
+ api_key=os.getenv("HF_TOKEN")
27
  ))
28
 
29
  SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question. Report your thoughts, and