From a69d4e4d55f3ade1629aabff6a60ee159b005950 Mon Sep 17 00:00:00 2001 From: John Costa Date: Fri, 18 Apr 2025 15:36:51 +0100 Subject: [PATCH] feat(location): prompt tweak + going back to faster model --- backend/agents/client/client.go | 2 +- backend/agents/location_agent.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/agents/client/client.go b/backend/agents/client/client.go index 5f1b322..ed260d0 100644 --- a/backend/agents/client/client.go +++ b/backend/agents/client/client.go @@ -242,7 +242,7 @@ func (client *AgentClient) RunAgent(userId uuid.UUID, imageId uuid.UUID, imageNa request := AgentRequestBody{ Tools: &tools, ToolChoice: &toolChoice, - Model: "pixtral-large-latest", + Model: "pixtral-12b-2409", Temperature: 0.3, EndToolCall: client.Options.EndToolCall, ResponseFormat: ResponseFormat{ diff --git a/backend/agents/location_agent.go b/backend/agents/location_agent.go index 640d7bc..beafa2d 100644 --- a/backend/agents/location_agent.go +++ b/backend/agents/location_agent.go @@ -38,6 +38,7 @@ Action loop: * If no existing location looks like the location on the input. You should use createLocation. * Do not use this tool if this location already exists. * If the input contains a location that already exists, you should use createExistingLocation. + * If there is a similar location in listLocation, you should use this tool. It doesnt have to be an exact match. You should repeat the action loop until all locations on the image are done. Once you are done, use stopAgent.