Naz786 commited on
Commit
8cfafef
·
verified ·
1 Parent(s): f89be9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def call_blackbox_agent(messages, model="gpt-4o"):
38
  {"role": "user", "content": "Refactor this code: ..."}
39
  ]
40
  """
41
- url = "http://localhost:4000/v1/chat/completions"
42
  headers = {
43
  "Content-Type": "application/json",
44
  "Authorization": f"Bearer {BLACKBOX_API_KEY}"
 
38
  {"role": "user", "content": "Refactor this code: ..."}
39
  ]
40
  """
41
+ url = "https://api.code.blackbox.ai/v1/chat/completions"
42
  headers = {
43
  "Content-Type": "application/json",
44
  "Authorization": f"Bearer {BLACKBOX_API_KEY}"