From f9c1f5717ed3a43e2555ec4f11aac8e4738200bf Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Fri, 9 May 2025 16:41:31 +0200 Subject: [PATCH] Update docstring for build_prompt() --- src/prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt.py b/src/prompt.py index e751b6c..7f7717a 100644 --- a/src/prompt.py +++ b/src/prompt.py @@ -51,7 +51,7 @@ async def build_prompt( The sections #2 and #3 may repeat if history is enabled (they are expected to be already part of the history_settings). If for whatever reason the full prompt exceeds the maximum context length of the generative model (set in - config.py), the new part #3 of the system prompt is truncated. The new user + config.py), the new part #3 of the full prompt is truncated. The new user message is always appended to the full prompt in its full length. Args: