Mercurial
diff mrjunejune/inference/python_zip.bzl @ 260:1f9877b637e9
Add Copilot-powered cyberpunk JRPG chat
Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 09:19:41 -0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrjunejune/inference/python_zip.bzl Wed Aug 05 09:19:41 2026 -0700 @@ -0,0 +1,16 @@ +def _python_zip_file_impl(ctx): + files = ctx.attr.binary[OutputGroupInfo].python_zip_file + return DefaultInfo( + files = files, + runfiles = ctx.runfiles(files = files.to_list()), + ) + +python_zip_file = rule( + implementation = _python_zip_file_impl, + attrs = { + "binary": attr.label( + mandatory = True, + providers = [OutputGroupInfo], + ), + }, +)