Skip to content

Commit

Permalink
Conversation Monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Oct 30, 2023
1 parent 7f35642 commit af9822b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions phi/cli/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def update_signin_url(cls, v, info: FieldValidationInfo):
def update_api_url(cls, v, info: FieldValidationInfo):
api_runtime = info.data["api_runtime"]
if api_runtime == "dev":
from os import getenv

if getenv("PHI_RUNTIME") == "docker":
return "http://host.docker.internal:7070"
return "http://localhost:7070"
elif api_runtime == "stg":
return "https://api.stgphi.com"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "phidata"
version = "2.0.19"
version = "2.0.20"
description = "AI Toolkit for Engineers"
requires-python = ">=3.7"
readme = "README.md"
Expand Down

0 comments on commit af9822b

Please sign in to comment.