Put student-first detect learning ahead of the teacher call.
Identity-only senses no longer lock a new cue. Learning stages, journal-generate review, and additive docs follow the closed section 6. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
a65ea98b0c
commit
011cc9dd81
26 files changed
+1893
-89
No files matched your search
@@ -285,6 +285,10 @@ def delete_profile(profile_id: str) -> None:
|
||||
"profile_in_use",
|
||||
f"Profil ist noch der Stufe {roles} zugeordnet. Zuerst ein anderes Profil wählen.",
|
||||
)
|
||||
from detect_learning import get_local_ner_settings, set_local_ner_settings
|
||||
|
||||
if get_local_ner_settings().get("passage_profile_id") == profile_id:
|
||||
set_local_ner_settings(passage_profile_id="")
|
||||
conn.execute("DELETE FROM llm_profiles WHERE id = ?", (profile_id,))
|
||||
|
||||
|
||||
@@ -462,4 +466,11 @@ def public_status() -> dict:
|
||||
"remote_plaintext_allowed": allows_remote_plaintext_detect(),
|
||||
"ollama_url": OLLAMA_LAN_URL,
|
||||
"detect_operating_mode": get_detect_operating_mode(),
|
||||
"local_ner": _local_ner_status(),
|
||||
}
|
||||
|
||||
|
||||
def _local_ner_status() -> dict:
|
||||
from detect_learning import get_local_ner_settings
|
||||
|
||||
return get_local_ner_settings()
|
||||
Reference in new issue
Block a user