breadboard-ai / breadboard

A library for prototyping generative AI applications.
Apache License 2.0
111 stars 21 forks source link

Visual editor rejects pasting of some valid boards that it is able to load directly #2450

Open Mearman opened 4 weeks ago

Mearman commented 4 weeks ago

I'm putting this here as a pin so I don't forget to find some example boards, but several times, I've had an error when pasting a board that otherwise could be loaded from disk into the visual editor. I'm guessing there is an overzealous validation function for pasting.

paullewis commented 3 weeks ago

It's not that zealous, but it may be buggy. If you can include an example board I can see why it's failing.

Mearman commented 3 weeks ago

I was thinking initially that to expose any glaring bugs, we could write a test that passes all of the serialised graphs through the loader function like I do with the Schema package.

Mearman commented 3 weeks ago

Ok, @paullewis, I have a bit more info and an example.