Enha: get func name from oai tool call

This commit is contained in:
Grail Finder
2025-08-08 13:14:06 +03:00
parent c3a5de7a0d
commit 972d9cdbff
2 changed files with 5 additions and 1 deletions

2
bot.go
View File

@@ -442,7 +442,7 @@ func findCall(msg, toolCall string, tv *tview.TextView) {
// call a func
f, ok := fnMap[fc.Name]
if !ok {
m := fc.Name + "%s is not implemented"
m := fc.Name + " is not implemented"
chatRound(m, cfg.ToolRole, tv, false, false)
return
}