Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class BasicAgent:
|
|
| 18 |
def __init__(self):
|
| 19 |
print("BasicAgent initialized.")
|
| 20 |
load_dotenv()
|
| 21 |
-
self.api_key = os.getenv(TEST_AGENT_KEY)
|
| 22 |
if not self.api_key:
|
| 23 |
raise ValueError("OpenRouter API Key not found.")
|
| 24 |
self.scorer_api_url = DEFAULT_API_URL # For fetching files/submitting
|
|
|
|
| 18 |
def __init__(self):
|
| 19 |
print("BasicAgent initialized.")
|
| 20 |
load_dotenv()
|
| 21 |
+
self.api_key = os.getenv("TEST_AGENT_KEY")
|
| 22 |
if not self.api_key:
|
| 23 |
raise ValueError("OpenRouter API Key not found.")
|
| 24 |
self.scorer_api_url = DEFAULT_API_URL # For fetching files/submitting
|