Skip to content

Commit a87291e

Browse files
committed
[Platform][Anthropic] CS fix
1 parent ddf56da commit a87291e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/platform/src/Bridge/Anthropic/ModelClient.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ public function request(Model $model, array|string $payload, array $options = []
4747
$options['tool_choice'] = ['type' => 'auto'];
4848
}
4949

50-
if (
51-
isset($options['beta_features'])
52-
&& \is_array($options['beta_features'])
53-
&& !empty($options['beta_features'])
54-
) {
50+
if (isset($options['beta_features']) && \is_array($options['beta_features']) && !empty($options['beta_features'])) {
5551
$headers['anthropic-beta'] = implode(',', $options['beta_features']);
5652
unset($options['beta_features']);
5753
}

0 commit comments

Comments
 (0)