[GH-ISSUE #430] Ability to set max tokens for localai api? #245

Closed
opened 2026-02-22 18:18:32 -05:00 by yindo · 2 comments
Owner

Originally created by @dillfrescott on GitHub (Dec 12, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/430

I need this feature!

Originally created by @dillfrescott on GitHub (Dec 12, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/430 I need this feature!
yindo added the enhancementgood first issuefeature request labels 2026-02-22 18:18:32 -05:00
yindo closed this issue 2026-02-22 18:18:32 -05:00
Author
Owner

@timothycarambat commented on GitHub (Dec 12, 2023):

Would this limit apply to every workspace and chat sent? If so that can be configured for LocalAI LLM inferencing.

Is the chat running away and not terminating output?

@timothycarambat commented on GitHub (Dec 12, 2023): Would this limit apply to every workspace and chat sent? If so that can be configured for LocalAI LLM inferencing. Is the chat running away and not terminating output?
Author
Owner

@dillfrescott commented on GitHub (Dec 12, 2023):

I added it globally right around here actually:

https://github.com/Mintplex-Labs/anything-llm/blob/ce9233c258a6769ddf4e640dd49623c5c7b0f37d/server/utils/AiProviders/localAi/index.js#L119

So I guess that works for me!

@dillfrescott commented on GitHub (Dec 12, 2023): I added it globally right around here actually: https://github.com/Mintplex-Labs/anything-llm/blob/ce9233c258a6769ddf4e640dd49623c5c7b0f37d/server/utils/AiProviders/localAi/index.js#L119 So I guess that works for me!
yindo changed title from Ability to set max tokens for localai api? to [GH-ISSUE #430] Ability to set max tokens for localai api? 2026-06-05 14:34:15 -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#245