mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-25 16:09:32 +01:00
narrate time action now has access to response length instructions
This commit is contained in:
@@ -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,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
@@ -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 }}:
|
||||
Reference in New Issue
Block a user