mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-19 16:39:15 +00:00
Image models previously could not be scheduled through a priority chain: the chat AUTO chain explicitly skips image-kind slots, and AUTO image requests fell back to unordered registry discovery. - config: add auto_image rules (auto_image yaml / image_rules json); legacy auto rules keep their meaning as the chat chain - core: buildAutoImageChain mirrors buildAutoChain with inverted kind filter (image-only); SaveAutoImageRules + AutoImageRules/AutoImageChain - scheduler: ChainImage walks the chain tier-by-tier with round-robin and preference ordering, skipping cooling slots - gateway: handleImage AUTO now runs down AutoImageChain when one is configured (falls back to legacy discovery otherwise) and records the actual served model; handleAutoAPI GET returns image_rules and PUT accepts image_rules independently of rules - webui: priority page gains a chat/image toggle editing two independent lane sets; add-slot picker filters by active kind; persistAuto writes only the active chain's field
24 lines
346 B
Plaintext
24 lines
346 B
Plaintext
/bin/
|
|
/llmsproxy
|
|
/config.yaml
|
|
/adapters/
|
|
/runtime.json
|
|
/master.key
|
|
*.log
|
|
/master.key
|
|
# GUI (Electron)
|
|
cmd/gui/node_modules/
|
|
cmd/gui/bin/
|
|
cmd/gui/build/gui-dist/
|
|
cmd/build/
|
|
cmd/gui/*.log
|
|
# workspace (AI-assisted coding local state)
|
|
.pi/
|
|
.pi-glla/
|
|
.codegraph/
|
|
/build/
|
|
|
|
# local ops scripts (machine-specific, not for sharing)
|
|
scripts/
|
|
cmd/gui/dist/
|