Skip to content

not a valid backing value for enum Gemini\Enums\MimeType #171

@foremtehan

Description

@foremtehan

"audio/l16; rate=24000; channels=1" is not a valid backing value for enum Gemini\Enums\MimeType

#0 /var/www/html/vendor/google-gemini-php/client/src/Data/Blob.php(32): Gemini\Enums\MimeType::from()
#1 /var/www/html/vendor/google-gemini-php/client/src/Data/Part.php(48): Gemini\Data\Blob::from()
#2 /var/www/html/vendor/google-gemini-php/client/src/Data/Content.php(59): Gemini\Data\Part::from()
#3 [internal function]: Gemini\Data\Content::{closure:Gemini\Data\Content::from():59}()
#4 /var/www/html/vendor/google-gemini-php/client/src/Data/Content.php(58): array_map()
#5 /var/www/html/vendor/google-gemini-php/client/src/Data/Candidate.php(55): Gemini\Data\Content::from()
#6 /var/www/html/vendor/google-gemini-php/client/src/Responses/GenerativeModel/GenerateContentResponse.php(106): Gemini\Data\Candidate::from()
#7 [internal function]: Gemini\Responses\GenerativeModel\GenerateContentResponse::{closure:Gemini\Responses\GenerativeModel\GenerateContentResponse::from():106}()

model: gemini-3.1-flash-tts-preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions