We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70936a commit 054f4b9Copy full SHA for 054f4b9
src/emd/sdk/clients/ecs_client.py
@@ -18,6 +18,7 @@
18
from emd.models import Model
19
from emd.constants import MODEL_DEFAULT_TAG
20
from emd.utils.logger_utils import get_logger
21
+from emd.utils.framework_utils import get_model_specific_path
22
import requests
23
24
@@ -114,7 +115,8 @@ def validate_environment(cls, values: Dict) -> Dict:
114
115
116
def invoke(self,pyload:dict):
117
stream = pyload.get('stream', False)
- url = f"{self.base_url}/invocations"
118
+ model_specific_invocations_path = get_model_specific_path(self.model_id, self.model_tag, "invocations")
119
+ url = f"{self.base_url}{model_specific_invocations_path}"
120
if stream:
121
response = requests.post(
122
url,
0 commit comments