Closed p3nj closed 1 year ago
I notice after this change every reply of llama will become
Assistent Reply
{
"thoughts": {...},
"command": {...}
}
json
{
"thoughts": {...},
"command": {...}
}
json loads error Expecting property name enclosed in double quotes: line 3 column 14 (char 16)
Error: Invalid JSON
{ "thoughts": {...}, "command": {...} }
json
{
"thoughts": {...},
"command": {...}
}
json loads error Expecting property name enclosed in double quotes: line 3 column 14 (char 16)
NEXT ACTION: COMMAND = Error: ARGUMENTS = Invalid JSON
Probably need more testing.
Background
Parameters passed to llm() only contain the first message.
Changes
Fix #15
Easy hack to combine all the messages together for llm()
Documentation
um... for loop and string join.
Test Plan
PR Quality Checklist