samsonDzealot commited on
Commit
f2b545e
·
verified ·
1 Parent(s): ef4ce2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ class BasicAgent:
18
  def __init__(self):
19
  print("BasicAgent initialized.")
20
  load_dotenv()
21
- self.api_key = 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
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