This commit is contained in:
mudler
2024-04-03 20:03:51 +02:00
parent 41692d700c
commit 7db9aea57b
2 changed files with 1 additions and 8 deletions

View File

@@ -281,7 +281,6 @@ func (a *Agent) consumeJob(job *Job, role string) {
}
func (a *Agent) periodicallyRun() {
// Here the LLM could decide to store some part of the conversation too in the memory
evaluateMemory := NewJob(
WithText(
@@ -319,12 +318,6 @@ func (a *Agent) periodicallyRun() {
a.consumeJob(evaluateAction, SystemRole)
a.ResetConversation()
// TODO: decide to do something on its own with the conversation result
// before clearing it out
// Clear the conversation
// a.currentConversation = []openai.ChatCompletionMessage{}
}
func (a *Agent) Run() error {