fix missing generator prompt
This commit is contained in:
parent
d4bf336f8b
commit
26f578c687
|
@ -232,6 +232,8 @@ prompts:
|
|||
Generating {{item_count}} items for room: {{name}}
|
||||
world_generate_room_broadcast_characters: |
|
||||
Generating {{character_count}} characters for room: {{name}}
|
||||
world_generate_room_broadcast_portals: |
|
||||
Generating {{portal_count}} portals for room: {{name}}
|
||||
|
||||
world_generate_portal_name_outgoing: |
|
||||
Generate the name of a portal that leads from the {{source_room}} room to the {{dest_room}} room and fits the world theme of {{world_theme}}.
|
||||
|
|
|
@ -522,7 +522,7 @@ def link_rooms(
|
|||
broadcast_generated(
|
||||
format_prompt(
|
||||
"world_generate_room_broadcast_portals",
|
||||
num_portals=num_portals,
|
||||
portal_count=num_portals,
|
||||
name=room.name,
|
||||
)
|
||||
)
|
||||
|
|
|
@ -12,7 +12,7 @@ def describe_character(
|
|||
perspective: FormatPerspective = FormatPerspective.SECOND_PERSON,
|
||||
) -> str:
|
||||
attribute_descriptions = format_attributes(character, perspective=perspective)
|
||||
logger.info("describing character: %s, %s", character, attribute_descriptions)
|
||||
logger.info("describing character: %s, %s", character.name, attribute_descriptions)
|
||||
|
||||
if perspective == FormatPerspective.SECOND_PERSON:
|
||||
character_description = character.backstory
|
||||
|
|
Loading…
Reference in New Issue