2 lines
2.2 KiB
JSON
2 lines
2.2 KiB
JSON
{"data":{"body":{"criteria":["Every `litert:<key>` menu id of web/js/main.js corresponds to a key of `MODELS` exported by `providers/litert.js`.","Every key of `MODELS` that the current menu offers is still offered.","The label of each LiteRT menu entry equals the `label` of its `MODELS` entry.","The menu contains no engine entry that the engine registry does not list."],"files":["web/js/main.js"],"problem":"web/js/main.js builds its model menu with hand-written `opts.push({ id, label })` lines, including two Gemma entries with fixed labels and one engine entry. The labels disagree with the catalog in providers/litert.js and with the other apps, and a model added to a registry stays hidden until someone edits this list. Why it matters: A hand-written model list already hid a newer model once; deriving the menu from the registries removes that class of bug.","proposal":"Build the LiteRT entries from `MODELS` in `./providers/litert.js` and the engine entry from the engine registry that the build vendors as `./engine/registro.js`. Ask which registry export lists the engine models before writing the engine part.","title":"Derive the model menu of Elffuss Code from the registries, not from a hand-written list"},"envelope":{"kind":"identity","signature":"0x1b37e08aa5bf137ad03299cf5b3b24173de5536c472fcee86603a177d786cf991dab221497e3199736e785308c861d46f2bf507903aa04187469f37e0b3259911b"},"message":{"author":"0x08809b42d05ae9526f4aa4c9670ce168aac68919","bodyHash":"0x873cf76b37b928f68d1f377b7e031bf886d1ab1a4e6fcc27cdd0af8bd2472e35","dedupHash":"0x74a898719404b9bfa8ec31b64c4bdf9867c5c9134526b8db3f773623904c67bf","issuedAt":"1790870090","kind":2,"nonce":"6","origin":4,"project":"0x16d6e75341c5f21003a4d9e89b416a545f7335094d7df139fd20942c9b7fb2de","repo":"0xd822e541c0173492ca0725a08935bcd8eaa756a9559600a9427d0daac625ead2"}},"eventHash":"0x8c60332426c38ba987dfbea6b058c50e8d56310492bb86b8af674815c66a3238","gatewaySignature":"0x31c2bf2ca2227d288a2d6046ab9b02a645a74169ed476e1a20b3f1bc44bac056512c4031b5349ae4505c41843b132809bc5c5458f685b8271e23e43b425c01c01c","prev":"0xcf44bb784a6c02ac0b0f5a105cf3bef303c9dfe2a3223c61413fcdf569633b3f","seq":8,"ts":1790870091,"type":"proposal","v":2}
|