Skip to content

Add system instruction support and beta API configuration #52

Add system instruction support and beta API configuration

Add system instruction support and beta API configuration #52

Triggered via pull request October 11, 2024 12:37
Status Failure
Total duration 27s
Artifacts

code-quality.yml

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

Annotations

13 errors and 2 warnings
Formats P8.1 - ubuntu-latest - prefer-stable: src/Client.php#L32
Method Gemini\Client::generativeModel() has parameter $safetySettings with no value type specified in iterable type array.
Formats P8.1 - ubuntu-latest - prefer-stable: src/Client.php#L35
Parameter $generationConfig of method Gemini\Client::generativeModel() has invalid type Gemini\GenerationConfig.
Formats P8.1 - ubuntu-latest - prefer-stable: src/Client.php#L36
Parameter $systemInstruction of method Gemini\Client::generativeModel() has invalid type Gemini\Content.
Formats P8.1 - ubuntu-latest - prefer-stable: src/Client.php#L42
Parameter $generationConfig of class Gemini\Resources\GenerativeModel constructor expects Gemini\Data\GenerationConfig|null, Gemini\GenerationConfig|null given.
Formats P8.1 - ubuntu-latest - prefer-stable: src/Client.php#L43
Parameter $systemInstruction of class Gemini\Resources\GenerativeModel constructor expects Gemini\Data\Content|null, Gemini\Content|null given.
Formats P8.1 - ubuntu-latest - prefer-stable
Process completed with exit code 1.
Formats P8.1 - ubuntu-latest - prefer-lowest
The job was canceled because "ubuntu-latest_8_1_prefe_2" failed.
Formats P8.1 - ubuntu-latest - prefer-lowest: src/Client.php#L32
Method Gemini\Client::generativeModel() has parameter $safetySettings with no value type specified in iterable type array.
Formats P8.1 - ubuntu-latest - prefer-lowest: src/Client.php#L35
Parameter $generationConfig of method Gemini\Client::generativeModel() has invalid type Gemini\GenerationConfig.
Formats P8.1 - ubuntu-latest - prefer-lowest: src/Client.php#L36
Parameter $systemInstruction of method Gemini\Client::generativeModel() has invalid type Gemini\Content.
Formats P8.1 - ubuntu-latest - prefer-lowest: src/Client.php#L42
Parameter $generationConfig of class Gemini\Resources\GenerativeModel constructor expects Gemini\Data\GenerationConfig|null, Gemini\GenerationConfig|null given.
Formats P8.1 - ubuntu-latest - prefer-lowest: src/Client.php#L43
Parameter $systemInstruction of class Gemini\Resources\GenerativeModel constructor expects Gemini\Data\Content|null, Gemini\Content|null given.
Formats P8.1 - ubuntu-latest - prefer-lowest
Process completed with exit code 1.
Formats P8.1 - ubuntu-latest - prefer-stable
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Formats P8.1 - ubuntu-latest - prefer-stable
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/