sub-sequent action support

This commit is contained in:
Ettore Di Giacinto
2024-04-01 00:45:32 +02:00
parent eb4294bdbb
commit f2e09dfe81
4 changed files with 57 additions and 31 deletions

View File

@@ -187,7 +187,7 @@ func (a *Agent) pickAction(ctx context.Context, templ string, messages []openai.
reason = thought.message
}
fmt.Println(reason)
fmt.Println("---- Thought: " + reason)
// Decode tool call
intentionsTools := action.NewIntention(actionsID...)