From 140a1736b94cbcb16e3e65c36e2692101f4d01b3 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sun, 25 Feb 2024 07:19:23 +0100 Subject: Fix typo in system_message in FlowGpt --- g4f/Provider/FlowGpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f') diff --git a/g4f/Provider/FlowGpt.py b/g4f/Provider/FlowGpt.py index 89d44c6c..39192bf9 100644 --- a/g4f/Provider/FlowGpt.py +++ b/g4f/Provider/FlowGpt.py @@ -56,7 +56,7 @@ class FlowGpt(AsyncGeneratorProvider, ProviderModelMixin): "nsfw": False, "question": messages[-1]["content"], "history": [{"role": "assistant", "content": "Hello, how can I help you today?"}, *messages[:-1]], - "system": "You are helpful assitant. Follow the user's instructions carefully. Respond using markdown", + "system": kwargs.get("system_message", "You are helpful assistant. Follow the user's instructions carefully."), "temperature": kwargs.get("temperature", 0.7), "promptId": f"model-{model}", "documentIds": [], -- cgit v1.2.3