Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
| 13 |
class BasicAgent:
|
| 14 |
def __init__(self):
|
| 15 |
model = OpenAIServerModel(model_id="gpt-4o",
|
| 16 |
-
api_key=os.
|
| 17 |
# Initialize the DuckDuckGo search tool
|
| 18 |
search_tool = DuckDuckGoSearchTool()
|
| 19 |
wiki_search = WikipediaSearchTool()
|
|
|
|
| 13 |
class BasicAgent:
|
| 14 |
def __init__(self):
|
| 15 |
model = OpenAIServerModel(model_id="gpt-4o",
|
| 16 |
+
api_key=os.getenv("OPENAI_API_KEY")
|
| 17 |
# Initialize the DuckDuckGo search tool
|
| 18 |
search_tool = DuckDuckGoSearchTool()
|
| 19 |
wiki_search = WikipediaSearchTool()
|