Add support for model aliases in script function #1760
Annotations
3 errors
genaiscript pr-review-commit:
packages/cli/src/modelalias.ts#L40
The function `applyScriptModelAliases` is not used anywhere in the codebase and can be removed to clean up the code.
|
genaiscript pr-review-commit:
packages/core/src/types/prompt_template.d.ts#L273
The field `modelAliases` in the interface `ModelAliasesOptions` is defined but not used anywhere in the codebase and can be removed to clean up the code.
|
genaiscript pr-review-commit:
packages/cli/src/run.ts#L358
The function call `applyScriptModelAliases(script)` is unnecessary as it's already called in the previous line. This can be simplified by removing one of the calls to avoid redundancy.
|
Loading