From dd07c7a5b51ba1dcf4c36a3e9100dd4c09278e78 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Wed, 14 May 2025 06:41:51 +0100 Subject: [PATCH] fix: Make search tool talk about models (#2151) Prevent it from returning results about 'LT Wright Maverick Scout' knives. Ultimatly we want the word "model" in the returned results putting llm in the search term make this more likely. Closes: #2150 Signed-off-by: Derek Higgins --- .../verifications/openai_api/fixtures/test_cases/responses.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/verifications/openai_api/fixtures/test_cases/responses.yaml b/tests/verifications/openai_api/fixtures/test_cases/responses.yaml index ed5f571e8..262d82526 100644 --- a/tests/verifications/openai_api/fixtures/test_cases/responses.yaml +++ b/tests/verifications/openai_api/fixtures/test_cases/responses.yaml @@ -79,7 +79,7 @@ test_response_multi_turn_image: - type: input_image image_url: "https://upload.wikimedia.org/wikipedia/commons/f/f7/Llamas%2C_Vernagt-Stausee%2C_Italy.jpg" output: "llama" - - input: "Search the web using the search tool for the animal from the previous response. Your search query should be a single phrase that includes the animal's name and the words 'maverick' and 'scout'." + - input: "Search the web using the search tool for the animal from the previous response. Your search query should be a single phrase that includes the animal's name and the words 'maverick', 'scout' and 'llm'" tools: - type: web_search output: "model"