Commit Graph
2 Commits
Author SHA1 Message Date
yetone d24fd5d182 factory 0.1.47: add Gemini 4 Hydrogen (#1073)
Droid 1.10.0 adds gemini-4-hydrogen on Factory's Google route, behind its
Gemini4Hydrogen flag: 1M context, 65536 output, low/medium/high, a 0.6x
multiplier and no promotion. Without it a request to
factory/gemini-4-hydrogen went to the Anthropic route and was refused.
It sits after the first 24 like Carbon, so GLM-5.3-Flash stays in them
(#119); grouped by company it sorts first among Gemini, by id as the
others do.

Checked: Droid 1.10.0 darwin/arm64 downloaded on mote, SHA-256
2b6b467e…6bf7f as the issue says. The testdata line is grepped from
that binary, and matches the issue's text byte for byte.
Run: bun test packages/factory on WSL with a temp HOME, 0 fail;
bun scripts/check.mjs factory ok. Hydrogen is index 49 of 60.
Broken by hand: Hydrogen at 0.5x turns 3 rate tests red.
Not tried: a real request (no Factory account with the flag here).

Reported-by: hitbear518
2026-11-13 14:22:10 +08:00
Mars-Sea 86d3febf9b factory 0.1.45: optional model ordering by company (#959)
An opt-in switch, "Group models by company", orders Factory's models by maker: Claude (Fable, Opus, Sonnet, Haiku), GPT, Gemini, Grok, GLM, Kimi, then the rest. Within a family, newer versions come first, and each Fast Mode model sits right after its base. Off, which is the default, keeps main's order byte for byte. Only a strict `true` from magpie's option turns it on. factory 0.1.45.

Run at the reviewed head fe96f7eb67b308a31ce33492fd3c5d5f19a4f5b1:
- On mote at 9b19aa76: bun test packages/factory 196 pass (main 194). Main's and this index.mjs were compared as JSON of the config hook and provider.models: off is identical to main for absent, {}, false, "true", 1, null, a throwing option and `option: 5`; on, there are 59 models, the same set, with no duplicates.
- On the Windows box at fe96f7eb (mote's sshd was refusing connections): bun test packages/factory 196 pass, bun scripts/check.mjs exit 0.
- Broken by hand at fe96f7eb: grouping always on turns both order.test.mjs tests red. Before the review's fix, it stayed green.
- npm has 0.1.44.

Not tried: in a real magpie window.
2026-11-11 10:48:37 +08:00