Skip to content

add support for extra_content in chat response tool calls returned by Gemini models #1460

add support for extra_content in chat response tool calls returned by Gemini models

add support for extra_content in chat response tool calls returned by Gemini models #1460

Status Failure
Total duration 1m 6s
Artifacts

formats.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Formats P8.2 - ubuntu-latest - prefer-stable
Process completed with exit code 1.
Formats P8.2 - ubuntu-latest - prefer-stable: src/Responses/Chat/CreateResponseToolCall.php#L32
Method OpenAI\Responses\Chat\CreateResponseToolCall::toArray() return type has no value type specified in iterable type array.
Formats P8.2 - ubuntu-latest - prefer-stable: src/Responses/Chat/CreateResponseToolCall.php#L19
Method OpenAI\Responses\Chat\CreateResponseToolCall::from() has parameter $attributes with no value type specified in iterable type array.
Formats P8.2 - ubuntu-latest - prefer-stable: src/Responses/Chat/CreateResponseToolCall.php#L9
Method OpenAI\Responses\Chat\CreateResponseToolCall::__construct() has parameter $extraContent with no value type specified in iterable type array.
Formats P8.2 - ubuntu-latest - prefer-stable: src/Responses/Chat/CreateResponseMessage.php#L34
Parameter #1 $attributes of static method OpenAI\Responses\Chat\CreateResponseToolCall::from() expects array{id: string, type: string, function: array{name: string, arguments: string}, extra_content: array|null}, array{id: string, type: string, function: array{name: string, arguments: string}} given.
Formats P8.2 - ubuntu-latest - prefer-lowest
The strategy configuration was canceled because "ci.ubuntu-latest_8_2_prefe_2" failed
Formats P8.2 - ubuntu-latest - prefer-lowest
Process completed with exit code 1.
Formats P8.2 - ubuntu-latest - prefer-lowest: src/Responses/Chat/CreateResponseToolCall.php#L32
Method OpenAI\Responses\Chat\CreateResponseToolCall::toArray() return type has no value type specified in iterable type array.
Formats P8.2 - ubuntu-latest - prefer-lowest: src/Responses/Chat/CreateResponseToolCall.php#L19
Method OpenAI\Responses\Chat\CreateResponseToolCall::from() has parameter $attributes with no value type specified in iterable type array.
Formats P8.2 - ubuntu-latest - prefer-lowest: src/Responses/Chat/CreateResponseToolCall.php#L9
Method OpenAI\Responses\Chat\CreateResponseToolCall::__construct() has parameter $extraContent with no value type specified in iterable type array.
Formats P8.2 - ubuntu-latest - prefer-lowest: src/Responses/Chat/CreateResponseMessage.php#L34
Parameter #1 $attributes of static method OpenAI\Responses\Chat\CreateResponseToolCall::from() expects array{id: string, type: string, function: array{name: string, arguments: string}, extra_content: array|null}, array{id: string, type: string, function: array{name: string, arguments: string}} given.