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}}
|
Generating {{item_count}} items for room: {{name}}
|
||||||
world_generate_room_broadcast_characters: |
|
world_generate_room_broadcast_characters: |
|
||||||
Generating {{character_count}} characters for room: {{name}}
|
Generating {{character_count}} characters for room: {{name}}
|
||||||
|
world_generate_room_broadcast_portals: |
|
||||||
|
Generating {{portal_count}} portals for room: {{name}}
|
||||||
|
|
||||||
world_generate_portal_name_outgoing: |
|
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}}.
|
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(
|
broadcast_generated(
|
||||||
format_prompt(
|
format_prompt(
|
||||||
"world_generate_room_broadcast_portals",
|
"world_generate_room_broadcast_portals",
|
||||||
num_portals=num_portals,
|
portal_count=num_portals,
|
||||||
name=room.name,
|
name=room.name,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,7 +12,7 @@ def describe_character(
|
||||||
perspective: FormatPerspective = FormatPerspective.SECOND_PERSON,
|
perspective: FormatPerspective = FormatPerspective.SECOND_PERSON,
|
||||||
) -> str:
|
) -> str:
|
||||||
attribute_descriptions = format_attributes(character, perspective=perspective)
|
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:
|
if perspective == FormatPerspective.SECOND_PERSON:
|
||||||
character_description = character.backstory
|
character_description = character.backstory
|
||||||
|
|
Loading…
Reference in New Issue