mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 02:16:36 +02:00
some gocritic
This commit is contained in:
parent
dad7a987ae
commit
c895a7d13f
10 changed files with 21 additions and 20 deletions
|
@ -66,7 +66,7 @@ func (s *Scheduler) GetRunner(c context.Context, model *Model, opts api.Options,
|
|||
opts.NumCtx = 4
|
||||
}
|
||||
|
||||
opts.NumCtx = opts.NumCtx * envconfig.NumParallel
|
||||
opts.NumCtx *= envconfig.NumParallel
|
||||
|
||||
req := &LlmRequest{
|
||||
ctx: c,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue