Skip to content

Commit

Permalink
Fix chains invocation URL domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
marius-baseten committed Aug 8, 2024
1 parent b2e125e commit 974cb3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion truss/remote/baseten/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_chainlets(
chainlet["id"],
),
oracle_predict_url=URLConfig.invocation_url(
self.remote_url,
self._api.rest_api_url,
URLConfig.MODEL,
chainlet["oracle"]["id"],
chainlet["oracle_version"]["id"],
Expand Down
2 changes: 1 addition & 1 deletion truss/remote/baseten/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def logs_url(self) -> str:
@property
def predict_url(self) -> str:
return URLConfig.invocation_url(
self._api.app_url,
self._api.rest_api_url,
URLConfig.MODEL,
self.model_id,
self._model_version_id,
Expand Down

0 comments on commit 974cb3c

Please sign in to comment.