Update base_agent.py
Browse files- base_agent.py +1 -1
base_agent.py
CHANGED
|
@@ -10,7 +10,7 @@ class BaseAgent:
|
|
| 10 |
def __init__(self, model):
|
| 11 |
"""Initialize the base agent with the specified model."""
|
| 12 |
print("Initializing Base Agent with " + model)
|
| 13 |
-
if model
|
| 14 |
model = os.getenv("DEFAULT_LLM_MODEL")
|
| 15 |
|
| 16 |
openai_key = os.getenv("OPENAI_API_KEY")
|
|
|
|
| 10 |
def __init__(self, model):
|
| 11 |
"""Initialize the base agent with the specified model."""
|
| 12 |
print("Initializing Base Agent with " + model)
|
| 13 |
+
if model is None:
|
| 14 |
model = os.getenv("DEFAULT_LLM_MODEL")
|
| 15 |
|
| 16 |
openai_key = os.getenv("OPENAI_API_KEY")
|