Skip to content

Commit 60c0620

Browse files
style: php cs fix
1 parent 83582b6 commit 60c0620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/src/Bridge/Cerebras/ResultConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function convert(RawHttpResult|RawResultInterface $result, array $options
4444

4545
if (!isset($data['choices'][0]['message']['content'])) {
4646
if (isset($data['type'], $data['message']) && str_ends_with($data['type'], 'error')) {
47-
throw new RuntimeException(\sprintf('Cerebras API error: %s', $data['message']));
47+
throw new RuntimeException(\sprintf('Cerebras API error: "%s"', $data['message']));
4848
}
4949

5050
throw new RuntimeException('Response does not contain output.');

0 commit comments

Comments
 (0)