From 155d480cd7ff9a4c2f22d6f33c129cfefcc2da2c Mon Sep 17 00:00:00 2001 From: projectmoon Date: Thu, 19 Sep 2024 21:32:04 +0000 Subject: [PATCH] OSM: override doityourself to hardware --- CHANGELOG.md | 3 +++ osm.py | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e3c34d..4e09b17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # OpenStreetMap Tool +**0.6.2:* + - Override `doityourself` store to `hardware`. + **0.6.1:** - Small adjustment to single location result instructions. diff --git a/osm.py b/osm.py index a3edbe6..ed1575b 100644 --- a/osm.py +++ b/osm.py @@ -2,7 +2,7 @@ title: OpenStreetMap Tool author: projectmoon author_url: https://git.agnos.is/projectmoon/open-webui-filters -version: 0.6.1 +version: 0.6.2 license: AGPL-3.0+ required_open_webui_version: 0.3.21 """ @@ -74,7 +74,8 @@ def detailed_instructions(tag_type_str: str) -> str: f"\n\n{NO_CONFUSION}\n\n" "Remember that the CLOSEST result is first, and you should use " "that result first.\n\n" - "The results (if present) are below, in Markdown format." + "The results (if present) are below, in Markdown format.\n\n" + "**ALWAYS SAY THE CLOSEST RESULT FIRST!**" ) def simple_instructions(tag_type_str: str) -> str: @@ -193,7 +194,7 @@ def friendly_shop_name(shop_type: str) -> str: Make certain shop types more friendly for LLM interpretation. """ if shop_type == "doityourself": - return "home_improvement_center" + return "hardware" else: return shop_type