fix: removing extra log line

This commit is contained in:
2025-04-12 07:22:35 +01:00
parent a43efa014f
commit 77a0901352

View File

@ -3,7 +3,6 @@ package agents
import (
"encoding/json"
"errors"
"fmt"
"os"
"screenmark/screenmark/agents/client"
"time"
@ -136,13 +135,10 @@ func (agent OrchestratorAgent) Orchestrate(userId uuid.UUID, imageId uuid.UUID,
request.Chat.AddSystem(orchestratorPrompt)
request.Chat.AddImage(imageName, imageData)
res, err := agent.client.Request(&request)
if err != nil {
if _, err := agent.client.Request(&request); err != nil {
return err
}
fmt.Println(res)
toolHandlerInfo := client.ToolHandlerInfo{
ImageId: imageId,
UserId: userId,