1
0
Fork 0

fix missing generator prompt
Run Docker Build / build (push) Successful in 17s Details
Run Python Build / build (push) Successful in 26s Details

This commit is contained in:
Sean Sube 2024-06-04 08:57:35 -05:00
parent d4bf336f8b
commit 26f578c687
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
3 changed files with 4 additions and 2 deletions

View File

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

View File

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

View File

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