narrate time action now has access to response length instructions

This commit is contained in:
vegu-ai-tools
2025-09-26 19:26:50 +03:00
parent 56b8e033ba
commit e61baa6a5a
2 changed files with 3 additions and 1 deletions

View File

@@ -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,
},
)

View File

@@ -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 }}: