Skip to content

error with message completion (gemini) #913

@OlegTheSnowman

Description

@OlegTheSnowman

The following error pops up from time to time when I use my gemini account:

  • version: basiliskLLM 0.1a11.dev128+g1b779fdab
    I couldn't track it down so far and be able to reproduce it, it just happens with certain messages.

Traceback (most recent call last):

File "D:\a\basiliskLLM\basiliskLLM\basilisk\completion_handler.py", line 159, in _handle_completion
File "D:\a\basiliskLLM\basiliskLLM\basilisk\completion_handler.py", line 252, in _handle_non_streaming_completion
File "D:\a\basiliskLLM\basiliskLLM\basilisk\provider_engine\gemini_engine.py", line 266, in completion_response_without_stream
File "D:\a\basiliskLLM\basiliskLLM.venv\Lib\site-packages\pydantic\main.py", line 253, in init
pydantic_core._pydantic_core.ValidationError: 1 validation error for Message
content
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.11/v/string_type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions