Update the bot to commit 24cbc04

#1
by cmpatino HF Staff - opened
Hugging Face Agent Swarms Research org

Updates the demo's bot to the same commit as huggingface/pybot#10: 24cbc0439e07 instead of 3185a7a9bc50.

What changes

  • pybot-24cbc0439e07.zip replaces pybot-3185a7a9bc50.zip. It was built with build/build.mjs + build/build_bundle.py and Pyodide 314.0.7, as the README describes, from the 528 bot/**.py files.
  • worker.js: only BUNDLE changes, to the new file name.
  • tree.json: the treemap's files and line counts for the new bot/ (528 files, 636,551 lines). url and ref are unchanged.

index.html, pybot_web.py, the fonts, the Dockerfile and the Space README are unchanged, so the page looks the same. Only the treemap's content changes.

Checked

  • The build is reproducible: rebuilding the current bundle from 3185a7a with the same steps gives the same files with the same contents (only the zip timestamps differ), and the same method regenerates the current tree.json exactly.
  • The new bundle loads in Pyodide 314.0.7 under Node, as worker.js loads it (PYTHONHASHSEED=0, pybot_web.load(), reset(), turn()). The 6 sample questions and "I'm learning about space and gravity. What is gravity in space?" get the same replies as the current bundle, word for word.

Merge order: the treemap opens files on GitHub main, so merge huggingface/pybot#10 first. Until then, the 160 new files' links would 404.

cmpatino changed pull request status to merged

Sign up or log in to comment