breadboard
breadboard copied to clipboard
[Inspector API] `runJavascript` has additional `inputSchema` and `outputSchema` ports
Not sure if this is a bug or not, but I think it might be. As of https://github.com/breadboard-ai/breadboard/pull/2413 we now get three schemas coming through for a runJavascript node: schema
, inputSchema
, and outputSchema
.
This generates some oddness on the front end:
Which I'm currently working around with this:
https://github.com/breadboard-ai/breadboard/blob/main/packages/visual-editor/src/ui/elements/node-info/node-configuration.ts#L743 i.e., only allow a port-spec attached to "schema"
otherwise ignore it.
@dglazkov, @aomarks – can one of you advise on what the correct behavior is here?