Skip to content

Commit cbdbb83

Browse files
committed
Incorporate review feedback
Signed-off-by: Emily Casey <emily.casey@docker.com>
1 parent aac988e commit cbdbb83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/inference/backends/llamacpp/llamacpp_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (c *Config) GetArgs(model types.Model, socket string, mode inference.Backen
6565
// Add arguments from backend config
6666
if config != nil {
6767
if config.ContextSize > 0 && !containsArg(args, "--ctx-size") {
68-
args = append(args, "--ctx-size", fmt.Sprintf("%d", config.ContextSize))
68+
args = append(args, "--ctx-size", strconv.FormatInt(config.ContextSize, 10))
6969
}
7070
args = append(args, config.RuntimeFlags...)
7171
}

0 commit comments

Comments
 (0)