9jini commited on
Commit
1e71e6e
·
verified ·
1 Parent(s): e1ba0b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -12,17 +12,11 @@ from langchain_core.tools import tool
12
  # --- Constants ---
13
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
14
 
15
-
16
-
17
-
18
  # --- Basic Agent Definition ---
19
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
20
  class BasicAgent:
21
  def __init__(self):
22
-
23
- model = LiteLLMModel(
24
- model_id="gemini/gemini-2.5-flash-preview-04-17",
25
- )
26
  self.agent = CodeAgent(
27
  model=model,
28
  tools=[DuckDuckGoSearchTool(), WikipediaSearchTool()],
 
12
  # --- Constants ---
13
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
14
 
 
 
 
15
  # --- Basic Agent Definition ---
16
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
17
  class BasicAgent:
18
  def __init__(self):
19
+ model = OpenAIServerModel(model_id="deepseek-chat",api_key="sk-04da63f756c9468182d278f52e33ad15", api_base="https://api.deepseek.com")
 
 
 
20
  self.agent = CodeAgent(
21
  model=model,
22
  tools=[DuckDuckGoSearchTool(), WikipediaSearchTool()],