Warning: session_start(): open(/var/lib/php/sessions/sess_u2iuh57o3husf0kaiqd9vi20ql, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static void ai_activeSpec_answerOnChat(S s) {
S response = "";
{ lock ai_activeSpecLock();
if (has(s, "should be", "answered in the chat")
&& !has(s, "was", "answered in the chat")) {
L answers = ai_texts("$X", "answers external question", s);
if (empty(answers))
answers = ai_texts("$X", "answers", s);
//print("activeSpec: have answers " + answers);
if (nempty(answers)) {
ai_invalidateTriple(s, "should be", "answered in the chat");
response = s + "\n=> " + joinWithComma(answers);
}
}
}
if (nempty(response) && postToStefansChat(response))
post(s, "was", "answered in the chat");
}