[GH-ISSUE #3708] [BUG]: When using KoboldCPP, the max response length is always 512, regardless of context size. #2391

Closed
opened 2026-02-22 18:29:28 -05:00 by yindo · 1 comment
Owner

Originally created by @SafentisFox on GitHub (Apr 23, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3708

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

I'm attempting to use AnythingLLM with KoboldCPP as the provider. No matter what I tried, the max response length is always 512 tokens. No matter the context size.

This, combined with the lack of a "Continue" button makes certain tasks hard, annoying or borderline impossible.

Are there known steps to reproduce?

Connect KoboldCPP. Do any kind of chat. Look at the KoboldCPP console to confirm that the requested response has a maximum of 512 tokens.

Originally created by @SafentisFox on GitHub (Apr 23, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3708 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? I'm attempting to use AnythingLLM with KoboldCPP as the provider. No matter what I tried, the max response length is always 512 tokens. No matter the context size. This, combined with the lack of a "Continue" button makes certain tasks hard, annoying or borderline impossible. ### Are there known steps to reproduce? Connect KoboldCPP. Do any kind of chat. Look at the KoboldCPP console to confirm that the requested response has a maximum of 512 tokens.
yindo added the possible buginvestigating labels 2026-02-22 18:29:28 -05:00
yindo closed this issue 2026-02-22 18:29:28 -05:00
Author
Owner

@staltux commented on GitHub (Oct 3, 2025):

if i chat normal, the context is the defined in the UI (like 4096 in my case), but if i use a agent, the context is limited to 512, this is a bug or is the intended feature?

@staltux commented on GitHub (Oct 3, 2025): if i chat normal, the context is the defined in the UI (like 4096 in my case), but if i use a agent, the context is limited to 512, this is a bug or is the intended feature?
yindo changed title from [BUG]: When using KoboldCPP, the max response length is always 512, regardless of context size. to [GH-ISSUE #3708] [BUG]: When using KoboldCPP, the max response length is always 512, regardless of context size. 2026-06-05 14:46:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2391