breadboard-ai / breadboard

A library for prototyping generative AI applications.
Apache License 2.0
160 stars 22 forks source link

Delete board `./packages/breadboard-web/src/boards/gemini-generator.ts` #2857

Open TinaNikou opened 4 weeks ago

TinaNikou commented 4 weeks ago

This is currently used by example boards packages/example-boards/src/boards/playground/simplest.ts #2327 and packages/example-boards/src/boards/playground/text-generator.ts #2325. These will no longer use this board post-migration and the changes are awaiting further review/approval/merging.

wfaithfull commented 2 weeks ago
(base) ➜  breadboard git:(main) find . -type f \
  ! -path "*/.*" \
  ! -path "*/dist/*" \
  ! -name "all_markdown.md" \
  ! -path "*/.wireit/*" \
  -exec grep -l "gemini-generator" {} +

./packages/breadboard/tests/inspector/data/simplest-no-schema-strict.json
./packages/breadboard/tests/inspector/data/simplest-no-schema.json
./packages/breadboard/tests/inspector/data/simplest.json
./packages/breadboard-web/build/tsconfig.tsbuildinfo
./packages/gemini-kit/CHANGELOG.md
./packages/gemini-kit/src/index.ts
./packages/visual-editor/CHANGELOG.md
./packages/visual-editor/public/agent.kit.json
./packages/visual-editor/build/tsconfig.tsbuildinfo
./packages/example-boards/playground-boards.json
./packages/example-boards/build/tsconfig.tsbuildinfo
./packages/example-boards/build/boards/playground/gemini-generator.js
./packages/example-boards/build/boards/playground/gemini-generator.js.map
./packages/example-boards/build/boards/playground/gemini-generator.d.ts
./packages/example-boards/build/boards/playground/gemini-generator.d.ts.map
./packages/agent-kit/CHANGELOG.md
./packages/agent-kit/agent.kit.json
./packages/agent-kit/boards/tool-worker.json
./packages/agent-kit/src/function-calling.ts
./packages/agent-kit/src/boards/structured-worker.ts
./packages/agent-kit/src/boards/worker.ts
TinaNikou commented 2 weeks ago

I could be wrong since just checking quickly but I think the only current reference to this packages/example-boards/src/boards/playground/gemini-generator.ts board is a hack in the agent kit function calling, here packages/agent-kit/src/function-calling.ts which references the URL of the built example board https://raw.githubusercontent.com/breadboard-ai/breadboard/main/packages/visual-editor/public/graphs/gemini-generator.json (but this actually 404s currently!)

There are two gemini-generator boards, since one is in the Gemini Kit and the other is in the example-boards/visual-editor so some of the search results might be referencing the kit.