okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
aff3a132f
main
1// GENERATED by `python -m strata_control.app_policy` from strata_control/speed_switches.py and strata_control/drafting.py. Do not edit it by hand: 2// change the Python and regenerate; tests/terminal/test_app_policy.py and apps/host/tests/policy-generated.test.mjs fail when this file is out of date. 3/** The speed switches of the app's Expert settings (strata_control/speed_switches.py app_switches()): id, words, default, the environment entries outside the default. */ 4export const SPEED_SWITCH_TABLE = [ 5{ "id" :"faster_long_prompts" , "label" :"Faster long prompts" , "hint" :"Reads very long prompts faster by approximating part of the work. Off by default: answers about long documents can miss or mix up details." , "default" :"off" , "env" :{ "STRATA_KVA" :"1" }}, 6{ "id" :"faster_12gb_nvidia" , "label" :"Faster answers on 12 GB NVIDIA cards" , "hint" :"Prefers the parts of the model already on the graphics card, which makes answers faster on 12 GB cards. Off by default: in long agent sessions it can repeat itself and give weaker results. Turn on if you mostly chat and want the speed." , "default" :"off" , "env" :{ "STRATA_ROUTE_PRIOR" :"1.5" }}, 7{ "id" :"faster_radeon_9000" , "label" :"Faster answers on Radeon RX 9000 / AI PRO R9700" , "hint" :"Shares the work between the graphics card and the processor in a way that makes answers faster on these cards. Turn off to go back to the previous setting, which is slower." , "default" :"on" , "env" :{ "STRATA_PCIE_FRAC_DEFAULT" :"old" }}, 8{ "id" :"picture_reader" , "label" :"Picture reader" , "hint" :"Which program turns pictures into something the model can read. Strata's own is faster on most computers and reads very large pictures correctly; on a few graphics cards where it is still slower, Strata uses llama.cpp's by itself. Choose llama.cpp's if pictures look misread." , "default" :"on" , "env" :{ "STRATA_VISION_TOWER" :"mtmd" }, "group" :"Image reading" , "words" :{ "on" :"Strata's own (recommended)" , "off" :"llama.cpp's" }}, 9]; 10/** The families that have a Drafting choice (strata_control/drafting.py SUPPORTED_FAMILIES). */ 11export const DRAFTING_FAMILIES = [ "qwen" , "gyro" , "unsloth" ]; 12/** The model names the DFlash2 drafter was made for (strata_control/drafting.py _SUPPORTED_NAME), a case-insensitive pattern. */ 13export const DFLASH2_MODEL_PATTERN = "^qwen3\\.8-flash-next(-gyro-[a-z0-9._-]+|-unsloth-[a-z0-9._-]+|-(q|iq|tq)\\d[a-z0-9_.]*)?$" ;