docs: update comment to say Non-positive values instead of Negative values

This commit is contained in:
Roo Code 2025-12-06 07:57:13 +00:00
parent a40e65634c
commit deb093c102

View file

@ -266,7 +266,7 @@ const ollamaSchema = baseProviderSettingsSchema.extend({
ollamaBaseUrl: z.string().optional(),
ollamaApiKey: z.string().optional(),
ollamaEmbeddingTimeoutMs: z.number().int().optional(),
// Negative values disable the validation timeout. If set to a positive integer, it specifies the timeout in milliseconds.
// Non-positive values disable the validation timeout. If set to a positive integer, it specifies the timeout in milliseconds.
ollamaValidationTimeoutMs: z.number().int().optional(),
ollamaNumCtx: z.number().int().min(128).optional(),
})