Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/loop.metta
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
(string-safe (py-str ("PROMPT: " (getPrompt) " SKILLS: " (getSkills)
" OUTPUT_FORMAT: Output a ((skillName1 args1) (skillName2 args2) (skillName3 args3)) S-expression of up to 3 sexpr commands, double-check the parentheses it must me (cmd1 ... cmdn)!"
" each arg is an explicit string hence needs quotes, and variables are forbidden!"
" LAST_SKILL_USE_RESULTS: " (last_chars (get-state &lastresults) (maxFeedback)) " HISTORY: " (getHistory) " TIME: " (get_time_as_string)))))
" LAST_SKILL_USE_RESULTS: dispatched commands followed by actual result of execution: " (last_chars (get-state &lastresults) (maxFeedback)) " HISTORY: " (getHistory) " TIME: " (get_time_as_string)))))

(= (HandleError $msg $cmd $sexpr)
(case $sexpr (((Error $a $b) (let $new (append (get-state &error) (($msg $cmd)))
Expand Down