update
This commit is contained in:
@@ -176,6 +176,9 @@ function _process_message(agent::yiemAgent)::assistantMessage
|
|||||||
# loop until llmCall() response didn't use tool calls
|
# loop until llmCall() response didn't use tool calls
|
||||||
final_response = nothing
|
final_response = nothing
|
||||||
while true
|
while true
|
||||||
|
#WORKING check
|
||||||
|
|
||||||
|
|
||||||
# call agent.prepareContext()
|
# call agent.prepareContext()
|
||||||
preparedContext = agent.prepareContext(agent._state)
|
preparedContext = agent.prepareContext(agent._state)
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
module utils
|
module utils
|
||||||
|
|
||||||
export clearhistory, availableWineToText, prepareContext
|
export clearhistory, availableWineToText, prepareContext, formatMsgForLLM, _userMessageToOpenAI,
|
||||||
|
_assistantMessageToOpenAI, _toolResultMessageToOpenAI, _messageContentToBlocks
|
||||||
|
|
||||||
using UUIDs, Dates, DataStructures, HTTP, JSON
|
using UUIDs, Dates, DataStructures, HTTP, JSON
|
||||||
using GeneralUtils
|
using GeneralUtils
|
||||||
|
|||||||
Reference in New Issue
Block a user