Skip to content

Setting "Format" property in a GenerateRequest causes response to come back empty. #347

@Caffiendish

Description

@Caffiendish

Really, as per title.

I've been unable to set literally anything for Format in a GenerateRequest and have the response come back with anything, not even just "json", but the exact same system message, prompt, model, and format set to "json" as a "Chat" (with chat.SendAsync) returns data exactly as expected.

Literally the only change is swapping GenerateRequest for Chat, to get a successful response from Ollama.

Ollama version: 0.13.5
OllamaSharp: 5.4.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions