diff --git a/server/fabric_api_keys.json b/server/fabric_api_keys.json index f7bb557..3ac75c5 100644 --- a/server/fabric_api_keys.json +++ b/server/fabric_api_keys.json @@ -3,7 +3,7 @@ "eJ4f1e0b-25wO-47f9-97ec-6b5335b2": "Daniel Miessler", "test": "user2" }, - "/summarise": { + "/summarize": { "eJ4f1e0b-25wO-47f9-97ec-6b5335b2": "Daniel Miessler", "test": "user2" } diff --git a/server/fabric_api_server.py b/server/fabric_api_server.py index ac54a70..1fdcab8 100644 --- a/server/fabric_api_server.py +++ b/server/fabric_api_server.py @@ -165,7 +165,7 @@ def fetch_content_from_url(url): pattern_path_mappings = { "extwis": {"system_url": "https://raw.githubusercontent.com/danielmiessler/fabric/main/patterns/extract_wisdom/system.md", "user_url": "https://raw.githubusercontent.com/danielmiessler/fabric/main/patterns/extract_wisdom/user.md"}, - "summarise": {"system_url": "https://raw.githubusercontent.com/danielmiessler/fabric/main/patterns/summarize/system.md", + "summarize": {"system_url": "https://raw.githubusercontent.com/danielmiessler/fabric/main/patterns/summarize/system.md", "user_url": "https://raw.githubusercontent.com/danielmiessler/fabric/main/patterns/summarize/user.md"} } # Add more pattern with your desire path as a key in this dictionary