router + litellm: all of the Forge models, and its LiteLLM routes (replaces #1) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "forge-models"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@rssnyder this replaces #1. It carries #1's two commits (forge-hidream, forge-liveportrait) plus one more, and records everything I changed on your Spark this weekend.
Why #1 says "broken due to missing fork information"
There's no fork involved. Forgejo shows that message when a PR's stored head (
refs/pull/1/head) doesn't match its branch. #1's head is still565deae, its first commit. The second commit (257a297, liveportrait) was pushed 29 minutes later, and Forgejo never moved the PR to it. That update runs on Forgejo's background queue, which has been stuck since the 09-22 outage (Actions runs are stuck the same way). This PR's branch was pushed complete before the PR was opened, so it should read correctly. If it still shows broken,git merge origin/forge-modelsand a push does the same thing. The queue itself needs a restart from you as admin.What happened on the Spark
~/llama-swap/config.yamlwas pushed on 2026-10-07 without the Forge's entries, and llama-swap then answered 404model not foundfor them.What I changed on the Spark, live
Each change has a backup beside the file and was made with the Spark otherwise idle.
~/llama-swap/config.yamlforge-pixal3d,forge-trellis2and group members (.bak-worlds-forge-20261010T212118Z)~/llama-swap/config.yamlforge-hidream,forge-ideogram4and group members (.bak-forge-pictures-…)~/litellm/config.yaml.bak-forge-passthrough-20261011T185757Z)spark-litellmrestart, ~1 min~/litellm/config.yaml/swapper/status(.bak-swapper-status-20261011T215838Z)spark-litellmrestart, ~1 minI also minted two keys in your LiteLLM, each limited by
allowed_routesto its own routes. Both get 403 on your chat models.forge-worker: the Forge's worker.worlds-assets: Worlds' asset workshop.The point is that our Spark traffic goes through your LiteLLM, logged per key. Neither key reaches spark-swapper directly.
What this PR changes
router/config.yaml:forge-pixal3d,forge-trellis2andforge-ideogram4are added inspark-memory, beside #1'sforge-hidreamandforge-liveportrait.litellm/config.yaml: the pass-through routes, identical to what has been live since 10-11.forge-hidreamgetsttl: 600and a 900 s response timeout. Live hasttl: 900and no timeout.forge-liveportraitisn't live yet. Its image is built on the Spark.router/spark-swapper.toml'smodelsgainsforge-liveportrait.Differences that are yours, not mine
Live has
qwen3.6-35b-a3b-nvfp4in~/litellm/config.yamland in/etc/spark-swapper/swapper.toml'smodels, andmasterhas neither. I left both alone. If you deploy this repo's files as they are, you'd drop them, so add them first if you want to keep them.To deploy (when deepseek is idle)
router/config.yaml→~/llama-swap/config.yaml, thensystemctl kill -s HUP --kill-whom=main llama-swap. The reload restarts deepseek (~3 min).litellm/config.yaml→~/litellm/config.yaml, thensystemctl restart spark-litellm(~1 min).🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.