The maid's AI chat functionality has been significantly refactored in this update, with systematic optimizations based on mainstream Agent architecture design principles. Currently, only the Touhou Little Maid: Epistalove add-on has a known compatibility crash; all other add-ons are compatible.
This update significantly lowers the barrier for configuring AI-related features and greatly improves ease of use.
Prompt Optimization
Conversation Robustness Improvements
Cache Hit Rate Optimization (improving cache hit rate effectively reduces API costs and speeds up model responses)
Tool Call Adjustments
/tlm ai_chat context to output all currently available game context information/tlm ai_chat tool to output all currently available tool listsSkill System
/tlm ai_chat skill to output all currently loaded SkillsContext Compression
UI Feedback Improvements
Added compatibility support for Sophisticated Backpacks: after placing a Sophisticated Backpack in the maid's Curios slot, the maid can interact with the backpack normally, including taking out and putting in items. (by CentaureaHO)
When a maid fairy spawns, there is now a 10% chance to spawn a Mini Maid Fairy instead. The Mini Maid Fairy has a slightly higher flight speed than a regular maid fairy and drops double P-Points upon being killed.
Added the FallbackIngredient recipe ingredient type, used to implement differentiated crafting inputs in a multi-mod environment (the design concept is similar to the multi-mod adaptation approach of the Avaritia crafting table).
This ingredient type iterates through the fallbacks list in order and selects the first entry whose corresponding mod is installed as the actual crafting input, implementing logic such as "use item from mod A if installed, otherwise fall back to B".
Usage Example:
The following recipe demonstrates an altar recipe that uses the millstone from kaleidoscope_cookery if that mod is present, otherwise falls back to vanilla planks, while always requiring a diamond as a fixed ingredient:
{
"type": "touhou_little_maid:altar_recipe",
"output": {
"item": "touhou_little_maid:bookshelf",
"count": 1
},
"power": 0.1,
"ingredients": [
{
// Required type parameter
"type": "touhou_little_maid:fallback_ingredient",
// Ordered list; the first entry whose mod is installed will be used as the actual input
"fallbacks": [
{
// Use the millstone from kaleidoscope_cookery if present
"modid": "kaleidoscope_cookery",
"value": {
"item": "kaleidoscope_cookery:millstone"
}
},
{
// Fallback: use vanilla planks (tag matching)
"modid": "minecraft",
"value": {
"tag": "minecraft:planks"
}
}
]
},
// Fixed ingredient: diamond (vanilla Ingredient syntax)
{
"tag": "forge:gems/diamond"
}
]
}