update
This commit is contained in:
+2
-2
@@ -113,7 +113,7 @@ function prepareContext(state::agentState)::agentContext
|
|||||||
#TODO filter tools from state.tools based on user intend in user message and tool description
|
#TODO filter tools from state.tools based on user intend in user message and tool description
|
||||||
filteredTools = state.tools
|
filteredTools = state.tools
|
||||||
|
|
||||||
#TODO add tools to current system prompt
|
#TODO add filtered tools to the current system prompt / modify systemPrompt here
|
||||||
preparedSystemPrompt = state.systemPrompt
|
preparedSystemPrompt = state.systemPrompt
|
||||||
|
|
||||||
#TODO add system prompt, adjust/modify and inject additional context into messages
|
#TODO add system prompt, adjust/modify and inject additional context into messages
|
||||||
@@ -375,7 +375,7 @@ function validateToolArguments(tool::agentTool, prepared::agentToolCall)::Dict{S
|
|||||||
end
|
end
|
||||||
|
|
||||||
return prepared.arguments
|
return prepared.arguments
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user