-
-
Notifications
You must be signed in to change notification settings - Fork 630
Description
Now OpenAI natively supports connectors from popular services like Google Calendar, Google Mail, Google Drive, Dropbox, etc.
https://platform.openai.com/docs/guides/tools-connectors-mcp?quickstart-panels=connector
However the package is not able to use them as it returns:
OpenAI\Responses\Responses\Tool\RemoteMcpTool::__construct(): Argument #3 ($serverUrl) must be of type string, null given, called in /Users/douglasroos/repos/nemesis.ai/vendor/openai-php/client/src/Responses/Responses/Tool/RemoteMcpTool.php on line 59
at vendor/openai-php/client/src/Responses/Responses/Tool/RemoteMcpTool.php:33 29▕ * @param 'never'|'always'|array<'never'|'always', McpToolNamesFilter>|null $requireApproval 30▕ * @param array<int, string>|McpToolNamesFilter|null $allowedTools 31▕ * @param array<string, string>|null $headers 32▕ */ ➜ 33▕ private function __construct( 34▕ public readonly string $type, 35▕ public readonly string $serverLabel, 36▕ public readonly string $serverUrl, 37▕ public readonly string|array|null $requireApproval = null,
As the use of connectors do not requires a server_url. instead it uses a connector_id param