summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-25 07:19:23 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-25 07:19:23 +0100
commit140a1736b94cbcb16e3e65c36e2692101f4d01b3 (patch)
tree9000b6441aca0a23e67d8c4307ed2de97f81b56f /g4f/Provider
parentFix cookies is None bug (diff)
downloadgpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.tar
gpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.tar.gz
gpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.tar.bz2
gpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.tar.lz
gpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.tar.xz
gpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.tar.zst
gpt4free-140a1736b94cbcb16e3e65c36e2692101f4d01b3.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/FlowGpt.py2
1 files changed, 1 insertions, 1 deletions
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": [],