Skip to content

Commit 9987888

Browse files
committed
docs(backend): drop em dashes from EffectiveContextSize comment
Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude:claude-opus-4-8 [Claude Code]
1 parent 7fe3e16 commit 9987888

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/backend/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ const (
216216

217217
// EffectiveContextSize is the context window the backend will run with: the
218218
// configured value, or DefaultContextSize when unset. A negative value (the
219-
// context_size: -1 auto-max sentinel) that survived config resolution e.g. on
220-
// a backend that never ran the GGUF resolver is clamped here so a negative
219+
// context_size: -1 auto-max sentinel) that survived config resolution, e.g. on
220+
// a backend that never ran the GGUF resolver, is clamped here so a negative
221221
// n_ctx never reaches a backend.
222222
func EffectiveContextSize(c config.ModelConfig) int {
223223
if c.ContextSize != nil && *c.ContextSize > 0 {

0 commit comments

Comments
 (0)