Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ class BasicAgent:
|
|
| 15 |
print("BasicAgent initialized.")
|
| 16 |
# Initialize the model
|
| 17 |
#model = HfApiModel()
|
| 18 |
-
model = OpenAIServerModel(model_id="openai/gpt-
|
| 19 |
# Initialize the search tool
|
| 20 |
search_tool = DuckDuckGoSearchTool()
|
| 21 |
# Initialize Agent
|
|
|
|
| 15 |
print("BasicAgent initialized.")
|
| 16 |
# Initialize the model
|
| 17 |
#model = HfApiModel()
|
| 18 |
+
model = OpenAIServerModel(model_id="openai/gpt-4o",api_key=os.environ["API_KEY"],api_base="https://models.github.ai/inference")
|
| 19 |
# Initialize the search tool
|
| 20 |
search_tool = DuckDuckGoSearchTool()
|
| 21 |
# Initialize Agent
|