File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9
9
use OpenAI \Testing \Responses \Concerns \Fakeable ;
10
10
11
11
/**
12
- * @phpstan-type ErrorType array{code: string, message: string}
12
+ * @phpstan-type ErrorType array{code: string|int , message: string}
13
13
*
14
14
* @implements ResponseContract<ErrorType>
15
15
*/
@@ -33,7 +33,7 @@ private function __construct(
33
33
public static function from (array $ attributes ): self
34
34
{
35
35
return new self (
36
- code: $ attributes ['code ' ],
36
+ code: ( string ) $ attributes ['code ' ],
37
37
message: $ attributes ['message ' ],
38
38
);
39
39
}
Original file line number Diff line number Diff line change @@ -544,6 +544,9 @@ function toolRemoteMcp(): array
544
544
'require_approval ' => null ,
545
545
'allowed_tools ' => null ,
546
546
'headers ' => null ,
547
+ 'connector_id ' => null ,
548
+ 'authorization ' => null ,
549
+ 'server_description ' => null ,
547
550
];
548
551
}
549
552
You can’t perform that action at this time.
0 commit comments