There was an error while loading. Please reload this page.
1 parent 7fe3e16 commit 9987888Copy full SHA for 9987888
1 file changed
core/backend/options.go
@@ -216,8 +216,8 @@ const (
216
217
// EffectiveContextSize is the context window the backend will run with: the
218
// 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
+// context_size: -1 auto-max sentinel) that survived config resolution, e.g. on
+// a backend that never ran the GGUF resolver, is clamped here so a negative
221
// n_ctx never reaches a backend.
222
func EffectiveContextSize(c config.ModelConfig) int {
223
if c.ContextSize != nil && *c.ContextSize > 0 {
0 commit comments