You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have to import many flows when run ai.startFlowServer
Describe the solution you'd like
public this registeredFlows prop? or something like optional flows prop on ai.startFlowServer, e.g: ai.startFlowServer({flows?:[...ai.registeredFlows]})
Describe alternatives you've considered
We have designed flows system by read flows.ts|.js in sub-folders like:
/src | /lib
'- /flows/
'- /users/
'- flows.ts|.js <-- at this point `export {userListFlow} from './list/userListFlow'`
'- /list/
'- userListFlow.ts|.js
@pavelgj Exposing Genkit.registeredFlows seems reasonable even if we were to deprecate/not recommend Genkit.startFlowServer anymore since users may still want to iterate through all of them to add to their own server.
Is your feature request related to a problem? Please describe.
I have to import many flows when run
ai.startFlowServer
Describe the solution you'd like
public this
registeredFlows
prop? or something like optionalflows
prop onai.startFlowServer
, e.g: ai.startFlowServer({flows?:[...ai.registeredFlows]})Describe alternatives you've considered
We have designed flows system by read flows.ts|.js in sub-folders like:
Additional context
The text was updated successfully, but these errors were encountered: