Skip to content

[Go] Use omitted types from genkit-schema.json instead of redefining #2387

@apascal07

Description

@apascal07

Describe the bug
There are at least a few core types that are omitted during schema generation and subsequently redefined in Go that have no reason to be, for example RetrieverRequest, RetrieverResponse, EmbedRequest, EmbedResponse, and probably others. We should try to reuse schemas where possible to detect breakages early.

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