P-Karthik-Mohan commited on
Commit
5cde40d
·
1 Parent(s): 5a52095

Updated inference.py 2nd time;)

Browse files
Files changed (1) hide show
  1. inference.py +2 -2
inference.py CHANGED
@@ -33,8 +33,8 @@ HF_TOKEN = os.environ.get("HF_TOKEN")
33
  def main():
34
  global client
35
  client = OpenAI(
36
- base_url=API_BASE_URL,
37
- api_key=HF_TOKEN if HF_TOKEN else "no-key-needed",
38
  )
39
  debug("SQL Analyst OpenEnv — Baseline Inference Agent")
40
 
 
33
  def main():
34
  global client
35
  client = OpenAI(
36
+ base_url=os.environ["API_BASE_URL"],
37
+ api_key=os.environ["API_KEY"],
38
  )
39
  debug("SQL Analyst OpenEnv — Baseline Inference Agent")
40