V0.8.0 process message debug #44

Merged
ton merged 23 commits from v0.8.0-process_message_debug into v0.8.0 2026-08-16 13:22:52 +00:00
2 changed files with 13 additions and 1 deletions
Showing only changes of commit ae3e432b02 - Show all commits
+1 -1
View File
@@ -104,7 +104,7 @@ function yiemAgent(
prepareContext::Function=prepareContext,
formatMsgForLLM::Function=formatMsgForLLM,
beforeToolCall::Function=beforeToolCall,
afterToolCall::Function,
afterToolCall::Function, #WORKING
# prepareNextTurn::Union{Function, Nothing}=nothing,
# prepareNextTurnWithContext::Union{Function, Nothing}=nothing,
sessionId::Union{String, Nothing}=nothing,
+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.
"""