Skip to content

Error running Amplifier with Ollama #125

@YashTrivedi21

Description

@YashTrivedi21

When I configured Amplifier with Ollama and ran: amplifier run "Hello, Amplifier!", it throws the below error:

[PROVIDER] Ollama API error: 1 validation error for Message
content
Input should be a valid string [type=string_type, input_value=[{'type': 'text', 'text':...?', 'visibility': None}], input_type=list]
For further information visit https://errors.pydantic.dev/2.12/v/string_type
Provider error: 1 validation error for Message
content
Input should be a valid string [type=string_type, input_value=[{'type': 'text', 'text':...?', 'visibility': None}], input_type=list]
For further information visit https://errors.pydantic.dev/2.12/v/string_type

Amplifier:
Error: 1 validation error for Message content Input should be a valid string [type=string_type, input_value=[{'type':
'text', 'text':...?', 'visibility': None}], input_type=list] For further information visit
https://errors.pydantic.dev/2.12/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