Skip to content

[Go] [Breaking Change] genkit.GenerateData should return Out not *Out #4099

@apascal07

Description

@apascal07

Describe the bug
genkit.GenerateData returns *Out instead of Out which means users don't get a choice in returning a value instead of a pointer. The rest of the structured data API like genkit.GenerateDataStream and DataPrompt.Execute already return the type, not its pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggo

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions