-
Couldn't load subscription status.
- Fork 543
Description
When running the Express testapp for testing the @genkit-ai/express middleware, some of the documented curl commands do not work. For example, the url http://localhost:8080/jokeFlow?stream=true -d '{"data": "banana"}' -H "content-type: application/json" -H "authorization: open sesame" command documented here does not work because the f.name value does not equal the name of the flow. It equals actionFn instead.
In addition, other curl commands such as curl http://localhost:8080/jokeHandler?stream=true -d '{"data": "banana"}' -H "content-type: application/json" do not return a UserFacxingError as expected and instead return an Internal Service Error due to it having issues with the context object and the server throwing TypeError: Cannot read properties of undefined (reading 'username') errors.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status