[Dev UI] Dev UI makes assumptions on schema for editors, breaks sometimes for Go/Py
Describe the bug The schema provided by the runtime looks different from what JS provides and in some places the Dev UI implicitly assumes the format to match JS. I think the generic action runner is safe from this because it uses the entire schema object for validation, but retriever-runner has separate inputs for query and options which causes trouble. Model runner works for some reason and that has even more special handling I presume....
Furthermore, missing or invalid schema makes the runner unusable. The faker throws an error and the invocation fails.
To Reproduce
- Define retriever in Python
- Try the retriever runner, it does not load a default value in the editor
- Even if you add the right input and click "Run" the invocation fails.
Expected behavior Smooth handling of schema from Py/Go. Handle broken schema gracefully.
Screenshots
Hey @ssbushi were there other fixes needed besides https://github.com/FirebasePrivate/genkit-ui/pull/1315? Or can we close this one out?
Friendly ping @ssbushi