Sets the model a program targets, replacing any existing selection.
Program to edit.
Model id, such as "default/glm-5.2".
"default/glm-5.2"
A new program; the input is left untouched.
const routed = setModel(request, "fast/gemma-4-31b"); Copy
const routed = setModel(request, "fast/gemma-4-31b");
Sets the model a program targets, replacing any existing selection.