Commit Graph

81 Commits

Author SHA1 Message Date
bridge
a075c1cc59 update: history prompt 2026-01-18 21:44:47 +08:00
4thfever
63fc2f828e Feat/auction (#30)
Add gathering events, in which multiple avatars participate
Add auction event

Closes #24
2026-01-14 02:33:13 +08:00
4thfever
95e1f11502 Refactor/history (#25)
add multi process history modification
2026-01-12 23:25:53 +08:00
bridge
2caa5586be refactor history archi 2026-01-12 00:36:10 +08:00
bridge
57cf5ca51a add history class 2026-01-11 23:53:26 +08:00
bridge
a0cfb3b9da make better conversation template 2026-01-10 01:41:13 +08:00
bridge
ff6d1b5de7 add more protagonist 2026-01-08 23:19:35 +08:00
bridge
c4ca92efc9 update template 2026-01-08 20:16:22 +08:00
bridge
2a68f352bc add elixir 2026-01-05 22:26:16 +08:00
bridge
53459b9abe fix: use {{}} instead of {} 2026-01-05 20:46:17 +08:00
Zihao Xu
8c8e28264f fix: handle null action_params from LLM response
LLM sometimes returns null instead of {} for action_params when an
action doesn't require parameters (e.g., ["Cultivate", null]). This
caused AttributeError when calling .items() on None.

Changes:
- Add defensive check in ai.py to convert null to {}
- Update prompt to explicitly require {} instead of null
2026-01-05 01:36:50 -08:00
bridge
b74014f9f2 add emotion 2026-01-04 22:49:20 +08:00
bridge
e2d03b587d refactor world desc 2026-01-03 21:25:24 +08:00
bridge
55a3f3f8cb fix bugs 2025-12-20 21:36:19 +08:00
bridge
57c669be47 fix bugs 2025-12-20 21:16:09 +08:00
bridge
8fb81c3473 refactor relation add and cancel 2025-12-20 20:30:30 +08:00
bridge
c772edfff0 refactor story teller 2025-12-20 18:18:37 +08:00
bridge
9a681a51f8 refactor prompt template 2025-12-20 18:08:04 +08:00
bridge
acf7d9dd35 refactor conversation 2025-12-18 21:52:00 +08:00
bridge
a1b7583f36 refactor world regions 2025-12-08 23:06:50 +08:00
bridge
8124537cff update distance 2025-12-08 22:39:44 +08:00
bridge
303bffe413 decide only one avatar each time 2025-12-08 22:08:53 +08:00
bridge
21a4666915 update story teller 2025-12-01 00:39:28 +08:00
bridge
a1210589b7 update 2025-11-26 21:56:39 +08:00
bridge
3f7bed61fe update 2025-11-26 21:37:05 +08:00
bridge
bd0903edfc add single choice 2025-11-26 15:46:53 +08:00
bridge
bb8614407d refactor nickname 2025-11-26 15:22:48 +08:00
bridge
37b51b7650 refactor relationship changes 2025-11-26 15:06:41 +08:00
bridge
45faba9990 fix bug 2025-11-22 17:26:54 +08:00
bridge
d7dbe8a0da fix bug 2025-11-22 17:14:36 +08:00
bridge
1c49d27c82 fix bug 2025-11-22 17:07:12 +08:00
bridge
5aaf6abcbb fix bug 2025-11-22 16:56:03 +08:00
bridge
d4e0fdacf3 refactor web code 2025-11-22 15:32:46 +08:00
bridge
8ae8b50e70 update 2025-11-22 14:28:34 +08:00
bridge
077cb5978f update ai.txt 2025-11-22 01:41:34 +08:00
bridge
a234e621b7 add long objective setting func 2025-11-21 22:14:27 +08:00
bridge
8e72acee57 fix a bug 2025-11-19 01:50:11 +08:00
bridge
09401c37b7 update 2025-11-19 01:27:28 +08:00
bridge
c341a1fddd fix long events calling 2025-11-19 01:06:42 +08:00
bridge
d2cf568154 add long term objective 2025-11-19 00:04:38 +08:00
bridge
c1963beef2 add nickname 2025-11-18 01:23:43 +08:00
bridge
e760ba107d update treasure to weapon and auxiliary 2025-11-13 01:16:26 +08:00
bridge
9949265748 merge persona and traits & add rarity 2025-11-11 23:07:36 +08:00
bridge
9b870475bf add save and load func 2025-11-11 19:48:18 +08:00
bridge
ba536978e7 simplify mutual action logic 2025-11-11 18:19:10 +08:00
bridge
fa13bd6cac update prompt 2025-11-02 22:24:39 +08:00
bridge
6c0ffedcd1 refactor talk & conversation 2025-11-02 21:59:04 +08:00
bridge
57000c32c1 refactor talk & conversation 2025-11-02 21:51:24 +08:00
bridge
00b173fa30 fix talk no recent events bug 2025-10-26 02:38:45 +08:00
bridge
f6206873d2 update 2025-10-26 01:22:18 +08:00