Compare commits
1 Commits
fix/issue-
...
fix/test-n
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22ee463a3d |
@@ -98,7 +98,7 @@ class TestDetection(unittest.TestCase):
|
||||
|
||||
def test_none_input(self):
|
||||
"""None input should not crash."""
|
||||
r = detect_crisis("")
|
||||
r = detect_crisis(None)
|
||||
self.assertEqual(r.level, "NONE")
|
||||
|
||||
def test_score_ranges(self):
|
||||
|
||||
@@ -1199,7 +1199,6 @@ Sovereignty and service always.`;
|
||||
if (fullText) {
|
||||
messages.push({ role: 'assistant', content: fullText });
|
||||
saveMessages();
|
||||
checkCrisis(fullText);
|
||||
}
|
||||
isStreaming = false;
|
||||
sendBtn.disabled = msgInput.value.trim().length === 0;
|
||||
|
||||
Reference in New Issue
Block a user