Skip to content

Commit c7dd902

Browse files
author
prima
committed
fix: Small tweak to log responses to console when there are errors
1 parent fa1a3e4 commit c7dd902

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

klite.embd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27126,8 +27126,9 @@ let checkFinalThoughtsPrompt = `Action: {"command":{"name":"thought","args":{"me
2712627126
}
2712727127
catch (e)
2712827128
{
27129-
console.log(i)
2713027129
addThought(createSysPrompt, `Chain of thought had an exception: ${e}`)
27130+
console.error(`Agent response which errored: ${resp}`)
27131+
2713127132
if (resp === null || resp.indexOf("evaluate_formula") === -1)
2713227133
{
2713327134
break

0 commit comments

Comments
 (0)