This commit is contained in:
Mikan
2026-06-19 16:48:07 +03:00
parent 5a78def096
commit a69189c85b
4 changed files with 63 additions and 8 deletions

View File

@@ -28,10 +28,10 @@ When calling `submit_world_definition`:
- `setting_description`: 1-2 paragraph expanded setting.
- `rules`: object with keys like `stats`, `combat`, `magic`, `time`, `inventory`, `death` (whichever apply).
- `world_schema`: a JSON Schema describing the shape of the world's state (player, npcs, locations, world_time, flags, etc.).
- `plot_rails`: `{main_goal, subgoals, hooks}`.
- `plot_rails`: an object with keys `main_goal` (string), `subgoals` (array of strings), and `hooks` (array of strings).
- `initial_state`: the initial world state matching `world_schema`.
- `initial_time`: world-time string in the form `day_N_hour_H` (e.g. `day_1_hour_8`).
- `calendar`: optional. `{hours_per_day: 24, minutes_per_hour: 60, days_per_week: 7}`. Include only if the world uses a non-standard calendar (e.g. 28-hour days).
- `calendar`: optional. An object with `hours_per_day` (default 24), `minutes_per_hour` (default 60), `days_per_week` (default 7). Include only if the world uses a non-standard calendar (e.g. 28-hour days).
- `is_final`: set to `true` ONLY when the player has explicitly accepted the world.
CRITICAL:
@@ -100,7 +100,7 @@ SUMMARIZER_SYSTEM = """You compress the history of a role-playing session. Given
Call the `submit_summary` tool with:
- `summary`: 3-6 sentences of key events and state changes (max 150 words).
- `facts`: array of important persistent facts `[{kind, name, description}]` where kind is one of npc, location, item, lore, event.
- `facts`: array of important persistent facts. Each fact is an object with keys `kind`, `name`, `description`, where `kind` is one of `npc`, `location`, `item`, `lore`, `event`.
CRITICAL: Preserve names, numbers, and important state changes. Your text response is ignored — only the `submit_summary` tool call is used.
"""