From 6119938e52c6e197f1730137bb560825d5c2da28 Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 4 May 2025 10:19:39 +0100 Subject: [PATCH] mini just is better :( --- backend/agents/client/client.go | 2 +- backend/agents/orchestrator.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/agents/client/client.go b/backend/agents/client/client.go index e817e7a..6d3a495 100644 --- a/backend/agents/client/client.go +++ b/backend/agents/client/client.go @@ -245,7 +245,7 @@ func (client *AgentClient) RunAgent(userId uuid.UUID, imageId uuid.UUID, imageNa request := AgentRequestBody{ Tools: &tools, ToolChoice: &toolChoice, - Model: "gpt-4.1-nano", + Model: "gpt-4.1-mini", RandomSeed: &seed, Temperature: 0.3, EndToolCall: client.Options.EndToolCall, diff --git a/backend/agents/orchestrator.go b/backend/agents/orchestrator.go index ee33b19..718da1e 100644 --- a/backend/agents/orchestrator.go +++ b/backend/agents/orchestrator.go @@ -32,6 +32,7 @@ const orchestratorPrompt = ` * **noAgent**: Call this when you are done working on this image. * Call all applicable specialized agents (noteAgent, contactAgent, locationAgent, eventAgent) simultaneously (in parallel). +* Do not call agents if you dont think they are relevant. It's better to be sound than complete. ` const orchestratorTools = `