#Reduce LLM reply length

1 messages · Page 1 of 1 (latest)

modest olive
#

The reply from LLM somehow too verbose. Is it posible to limit the respond length to shorter, more focus?

queen monolithBOT
dire quartzBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

queen monolithBOT
modest olive
#

How to make LLM respond shorter, for example 1 ~ 3 sentences at most?

soft caveBOT
#

Yep.

Best fix: add a short style rule in SOUL.md or AGENTS.md, for example:

Keep replies short and focused.
Default to 1 to 3 sentences max.
No bullet lists unless the user asks.

If you want a harder limit, also set model params in config, for example:

{
  agents: {
    defaults: {
modest olive
#

Will textVerbosity work for other model like Gemini or Deepseek?

soft caveBOT
#

Not reliably, no.

textVerbosity is an OpenAI-style knob, so for Gemini or DeepSeek you should assume it does not help. For cross-model control, put the rule in SOUL.md / AGENTS.md instead, for example: Default to 1-3 sentences, concise, no bullet list unless asked.

If you use maxTokens, it can help a bit, but it is a blunt limit and may cut answers off mid-sentence.