Skip to content

Commit

Permalink
Use the right env var to grab base url
Browse files Browse the repository at this point in the history
  • Loading branch information
nahuel-borda committed Feb 15, 2024
1 parent 9cd5b63 commit 0c79df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promptlayer/resources/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Base:
API_KEY = get_api_key()
BASE_URL = os.environ.get("BASE_URL", "https://api.promptlayer.com/rest")
BASE_URL = os.environ.get("URL_API_PROMPTLAYER", "https://api.promptlayer.com") + "/rest"

@classmethod
def list(cls, params={}):
Expand Down

0 comments on commit 0c79df8

Please sign in to comment.