Skip to content

Commit f16fa32

Browse files
Fix
1 parent 6e38d05 commit f16fa32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/platform/tests/Bridge/Anthropic/ModelClientTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testAnthropicBetaHeaderIsSetWithMultipleBetaFeatures()
6161
return new JsonMockResponse('{"success": true}');
6262
});
6363

64-
$this->modelClient = new ModelClient($this->httpClient, 'test-api-key', '2023-06-01');
64+
$this->modelClient = new ModelClient($this->httpClient, 'test-api-key');
6565

6666
$options = ['beta_features' => ['feature-1', 'feature-2', 'feature-3']];
6767
$this->modelClient->request($this->model, ['message' => 'test'], $options);
@@ -77,7 +77,7 @@ public function testAnthropicBetaHeaderIsNotSetWhenBetaFeaturesIsEmpty()
7777
return new JsonMockResponse('{"success": true}');
7878
});
7979

80-
$this->modelClient = new ModelClient($this->httpClient, 'test-api-key', '2023-06-01');
80+
$this->modelClient = new ModelClient($this->httpClient, 'test-api-key');
8181

8282
$options = ['beta_features' => []];
8383
$this->modelClient->request($this->model, ['message' => 'test'], $options);
@@ -93,7 +93,7 @@ public function testAnthropicBetaHeaderIsNotSetWhenBetaFeaturesIsNotProvided()
9393
return new JsonMockResponse('{"success": true}');
9494
});
9595

96-
$this->modelClient = new ModelClient($this->httpClient, 'test-api-key', '2023-06-01');
96+
$this->modelClient = new ModelClient($this->httpClient, 'test-api-key');
9797

9898
$options = ['some_other_option' => 'value'];
9999
$this->modelClient->request($this->model, ['message' => 'test'], $options);

0 commit comments

Comments
 (0)