diff --git a/wyvern/components/models/modelbit_component.py b/wyvern/components/models/modelbit_component.py index 3134fb4..92d60c5 100644 --- a/wyvern/components/models/modelbit_component.py +++ b/wyvern/components/models/modelbit_component.py @@ -135,7 +135,8 @@ async def inference(self, input: MODEL_INPUT, **kwargs) -> MODEL_OUTPUT: for batch_idx, resp in enumerate(responses): if resp.status != 200: - logger.warning(f"Modelbit inference failed: {resp.text}") + text = await resp.text() + logger.warning(f"Modelbit inference failed: {text}") continue resp_list: List[List[Union[float, str, List[float], None]]] = ( await resp.json()