Open paullewis opened 2 weeks ago
Ohh yeah, we need to reconcile this. My sense is that we probably should change the node details UI to treat a port with a port-spec
as just another port (similar to the LLM Content) rather than its own section. WDYT?
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
, andoutputSchema
.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?