Add selectable CASAN IDE integrations
This commit is contained in:
@@ -95,7 +95,7 @@ def handle_user_prompt_submit(payload):
|
||||
"prompt": payload.get("prompt", ""),
|
||||
"integration_mode": integration_mode(),
|
||||
})
|
||||
if resp.get("admission_id"):
|
||||
if resp.get("admission_id") and resp.get("decision") != "block":
|
||||
store_pointer(session, resp["admission_id"], resp.get("trace_id"))
|
||||
|
||||
if resp.get("decision") == "block":
|
||||
|
||||
Reference in New Issue
Block a user