Clean up: fix duplicate module declarations and warnings
- Remove duplicate module declarations in lib.rs - Replace full-width spaces with normal spaces in companion.rs - Add #[allow(dead_code)] for min_priority_score (future feature) Now compiles cleanly with minimal warnings!
This commit is contained in:
@@ -271,9 +271,9 @@ impl SpecialEvent {
|
|||||||
format!(
|
format!(
|
||||||
"💕 特別なイベント発生!\n\n\
|
"💕 特別なイベント発生!\n\n\
|
||||||
{}:「ねえ...あのね。\n\
|
{}:「ねえ...あのね。\n\
|
||||||
いつも一緒にいてくれてありがとう。\n\
|
いつも一緒にいてくれてありがとう。\n\
|
||||||
あなたのこと、すごく大切に思ってるの。\n\
|
あなたのこと、すごく大切に思ってるの。\n\
|
||||||
これからも、ずっと一緒にいてね?」\n\n\
|
これからも、ずっと一緒にいてね?」\n\n\
|
||||||
🎊 {} の好感度がMAXになりました!",
|
🎊 {} の好感度がMAXになりました!",
|
||||||
companion_name, companion_name
|
companion_name, companion_name
|
||||||
)
|
)
|
||||||
@@ -282,7 +282,7 @@ impl SpecialEvent {
|
|||||||
format!(
|
format!(
|
||||||
"🎉 レベル10到達!\n\n\
|
"🎉 レベル10到達!\n\n\
|
||||||
{}:「ここまで一緒に来られたね。\n\
|
{}:「ここまで一緒に来られたね。\n\
|
||||||
あなたとなら、どこまでも行けそう。」",
|
あなたとなら、どこまでも行けそう。」",
|
||||||
companion_name
|
companion_name
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -290,7 +290,7 @@ impl SpecialEvent {
|
|||||||
format!(
|
format!(
|
||||||
"✨ 信頼度MAX!\n\n\
|
"✨ 信頼度MAX!\n\n\
|
||||||
{}:「あなたのこと、心から信頼してる。\n\
|
{}:「あなたのこと、心から信頼してる。\n\
|
||||||
何でも話せるって、すごく嬉しいよ。」",
|
何でも話せるって、すごく嬉しいよ。」",
|
||||||
companion_name
|
companion_name
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,4 @@ pub mod memory;
|
|||||||
pub mod mcp;
|
pub mod mcp;
|
||||||
pub mod ai_interpreter;
|
pub mod ai_interpreter;
|
||||||
pub mod game_formatter;
|
pub mod game_formatter;
|
||||||
pub mod companion;
|
|
||||||
pub mod ai_interpreter;
|
|
||||||
pub mod game_formatter;
|
|
||||||
pub mod companion;
|
pub mod companion;
|
||||||
@@ -72,7 +72,8 @@ pub struct MemoryManager {
|
|||||||
conversations: HashMap<String, Conversation>,
|
conversations: HashMap<String, Conversation>,
|
||||||
data_file: PathBuf,
|
data_file: PathBuf,
|
||||||
max_memories: usize, // 最大記憶数
|
max_memories: usize, // 最大記憶数
|
||||||
min_priority_score: f32, // 最小優先度スコア (0.0-1.0)
|
#[allow(dead_code)]
|
||||||
|
min_priority_score: f32, // 最小優先度スコア (将来の機能で使用予定)
|
||||||
ai_interpreter: AIInterpreter, // AI解釈エンジン
|
ai_interpreter: AIInterpreter, // AI解釈エンジン
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user