WeKnora/internal/models/limiter
wizardchen 20256287ec feat(models): add max concurrency setting for background tasks
Introduce a new `max_concurrency` parameter to the model configuration, allowing control over the maximum number of concurrent background tasks (ingestion/enrichment) per model. This feature is applicable to chat, embedding, and VLM models, with a value of 0 or undefined falling back to the global default. Update UI components and localization files to support this new setting, ensuring a seamless user experience.
2026-07-09 20:40:51 +08:00
..
governor.go feat(models): add max concurrency setting for background tasks 2026-07-09 20:40:51 +08:00
governor_test.go fix(models): harden background concurrency governor 2026-07-09 20:40:51 +08:00
limiter.go fix(models): harden background concurrency governor 2026-07-09 20:40:51 +08:00
limiter_test.go feat(models): cap background LLM concurrency per model 2026-07-09 20:40:51 +08:00