diff --git a/src/talemate/agents/narrator/__init__.py b/src/talemate/agents/narrator/__init__.py index 6d0e8910..55efae3c 100644 --- a/src/talemate/agents/narrator/__init__.py +++ b/src/talemate/agents/narrator/__init__.py @@ -536,6 +536,7 @@ class NarratorAgent(MemoryRAGMixin, Agent): "narrative": narrative_direction, # backwards compatibility "narrative_direction": narrative_direction, "extra_instructions": self.extra_instructions, + "response_length": self.max_generation_length, }, ) diff --git a/src/talemate/prompts/templates/narrator/narrate-time-passage.jinja2 b/src/talemate/prompts/templates/narrator/narrate-time-passage.jinja2 index 95799723..8e8d94f4 100644 --- a/src/talemate/prompts/templates/narrator/narrate-time-passage.jinja2 +++ b/src/talemate/prompts/templates/narrator/narrate-time-passage.jinja2 @@ -4,9 +4,10 @@ {% set budget=max_tokens-300-extra_context_tokens %} {% with budget=budget %}{% include "scene-context.jinja2" %}{% endwith %} <|SECTION:TASK|> -Narrate the passage of time that just occured, subtly move the story forward, and set up the next scene. Your main goal is to fill in what happened during the time passage. +Narrate the passage of time that just occured, move the story forward, and set up the next scene. Your main goal is to fill in what happened during the time passage. {% include "narrative-direction.jinja2" %} {{ extra_instructions }} +{% include "response-length.jinja2" %} <|CLOSE_SECTION|> {{ bot_token }}{{ time_passed }}: \ No newline at end of file