GenkitG
Genkit14mo ago
29 replies
incredible-moccasin

[Go] [Proposal] Fold `DefineStreamingFlo...

I have a proposal for a minor (breaking) change in how flows are defined. We will have a series of breaking changes here so the breaking aspect of it is inevitable. Please let me know what you think. @PJ https://github.com/firebase/genkit/issues/1417
GitHub
Instead of currently: flow, err := DefineFlow( ai, "myFlow", func(ctx context.Context, input Input) (Output, error) { ... }, flow.WithAuth(...), ) streamingFlow, err := DefineStreamingFlo...
[Go] [Proposal] Fold `DefineStreamingFlow` into `DefineFlow` with o...
Was this page helpful?