@@ -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