Mercurial
comparison mrjunejune/README.md @ 261:b401627fc49e
Add JRPG mock flows and interactive previews
Add scripted mock SSE commands, custom event forwarding, animated chat turns, full-height message navigation, and a cyberpunk resume dossier.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 20:38:32 -0700 |
| parents | 1f9877b637e9 |
| children |
comparison
equal
deleted
inserted
replaced
| 260:1f9877b637e9 | 261:b401627fc49e |
|---|---|
| 25 ```bash | 25 ```bash |
| 26 LITELLM_MASTER_KEY='<local proxy key>' \ | 26 LITELLM_MASTER_KEY='<local proxy key>' \ |
| 27 MRJUNEJUNE_ALLOW_ANONYMOUS_INFERENCE=1 \ | 27 MRJUNEJUNE_ALLOW_ANONYMOUS_INFERENCE=1 \ |
| 28 bazel run //mrjunejune:run_inference_stack | 28 bazel run //mrjunejune:run_inference_stack |
| 29 ``` | 29 ``` |
| 30 | |
| 31 For UI work, start the same Seobeo, Deita, inference bridge, and SSE path with | |
| 32 deterministic mock responses. This mode does not require Copilot authentication | |
| 33 or a LiteLLM key: | |
| 34 | |
| 35 ```bash | |
| 36 bazel run //mrjunejune:run_inference_stack -- --mock | |
| 37 ``` | |
| 38 | |
| 39 Send `!hello`, `!response`, `!tool`, `!plan`, or `!error` to run a scripted | |
| 40 event sequence. Edit `mrjunejune/inference/mock_responses.json` to add commands, | |
| 41 ordered SSE event payloads, per-event timing, and response chunks. Custom event | |
| 42 types pass through Seobeo and are published by the page as | |
| 43 `mjj-jrpg-stream-event`, ready for future tool-call and plan-view components. | |
| 44 Mock conversations use a separate database under the inference state directory. | |
| 30 | 45 |
| 31 Keep `GITHUB_COPILOT_TOKEN_DIR` exported when starting the stack so it reads the | 46 Keep `GITHUB_COPILOT_TOKEN_DIR` exported when starting the stack so it reads the |
| 32 same tokens. Without an override, both commands use | 47 same tokens. Without an override, both commands use |
| 33 `$XDG_STATE_HOME/mrjunejune/inference/litellm-copilot`, or | 48 `$XDG_STATE_HOME/mrjunejune/inference/litellm-copilot`, or |
| 34 `~/.local/state/mrjunejune/inference/litellm-copilot` when `XDG_STATE_HOME` is | 49 `~/.local/state/mrjunejune/inference/litellm-copilot` when `XDG_STATE_HOME` is |