breadboard-ai / breadboard

A library for prototyping generative AI applications.
Apache License 2.0
172 stars 23 forks source link

[Bug] Board Key leaks in some cases #2263

Open dglazkov opened 3 months ago

dglazkov commented 3 months ago

When board is serialized, I occasionally (not always) see board key in the URL of the board. This is definitely something we don't want to have.

dglazkov commented 3 months ago

Probably need to have more robust cleaning of URLs here:

https://github.com/breadboard-ai/breadboard/blob/1af3ef03ff5f35042c96457e5e1f3659831f19f8/packages/breadboard-web/src/index.ts#L2145

This does not account for subgraphs.