pi harness reimplement

This commit is contained in:
2026-07-28 07:37:57 +07:00
parent b7658af76b
commit 984a678d92
37 changed files with 6124 additions and 5696 deletions
+26
View File
@@ -0,0 +1,26 @@
"""
tools/write.jl - File write tool
This module provides the file write tool for AgentCore.
"""
module Write
using ..Types: *
function createWriteTool{TContext}() where TContext
return AgentTool(
"write",
"write",
"Write content to a file.",
Dict{String, Any}(),
(tool_call_id, params, signal, on_update, context) -> begin
# TODO: Implement write execution
return AgentToolResult([TextContent("File written successfully")], nothing, nothing, nothing, nothing)
end,
nothing,
nothing,
)
end
end