This commit is contained in:
2026-08-11 17:35:56 +07:00
parent 7c14390400
commit ae3e432b02
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -231,6 +231,18 @@ function beforeToolCall(context::beforeToolCallContext, signal::abortSignal)::be
return beforeToolCallResult(false, "N/A")
end
#TODO
function afterToolCall(context::beforeToolCallContext, signal::abortSignal)::beforeToolCallResult
# final context check
# seek user approval via UI
# other check
return beforeToolCallResult(false, "N/A")
end
"""
Convert a userMessage to OpenAI message format.
"""