Merge remote-tracking branch 'origin/pr/154' into HEAD
# Conflicts: # memory.elh # neuron-api.elh # routes.elh # safety.elh # sessions.elh # soul.elh
This commit is contained in:
@@ -445,7 +445,7 @@ fn r_chat_get(method: String, path: String, body: String) -> String {
|
||||
} else if agentic_flag {
|
||||
handle_chat_agentic(body)
|
||||
} else {
|
||||
let screened_reply: String = layered_cycle(eff_msg)
|
||||
let screened_reply: String = layered_cycle(eff_msg, json_get(body, "session_id"), is_utility_request(body, json_get(body, "session_id")))
|
||||
screened_reply
|
||||
}
|
||||
auto_persist(body, reply)
|
||||
@@ -744,7 +744,7 @@ fn r_chat_post(method: String, path: String, body: String) -> String {
|
||||
} else if agentic_flag {
|
||||
handle_chat_agentic(body)
|
||||
} else {
|
||||
let screened_reply: String = layered_cycle(raw_msg)
|
||||
let screened_reply: String = layered_cycle(raw_msg, json_get(body, "session_id"), is_utility_request(body, json_get(body, "session_id")))
|
||||
screened_reply
|
||||
}
|
||||
auto_persist(body, reply)
|
||||
|
||||
Reference in New Issue
Block a user