Skip to content

Commit 77adc4d

Browse files
author
Mishig
authored
[SmallModel] Nit update the comment (#726)
* [SmallModel] Nit update the comment * even more precise
1 parent 22e7bfa commit 77adc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const validateModel = (_models: BackendModel[]) => {
151151
return z.enum([_models[0].id, ..._models.slice(1).map((m) => m.id)]);
152152
};
153153

154-
// if `TASK_MODEL` is the name of a model we use it, else we try to parse `TASK_MODEL` as a model config itself
154+
// if `TASK_MODEL` is string & name of a model in `MODELS`, then we use `MODELS[TASK_MODEL]`, else we try to parse `TASK_MODEL` as a model config itself
155155

156156
export const smallModel = TASK_MODEL
157157
? (models.find((m) => m.name === TASK_MODEL) ||

0 commit comments

Comments
 (0)