diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-25 07:19:23 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-25 07:19:23 +0100 |
commit | 140a1736b94cbcb16e3e65c36e2692101f4d01b3 (patch) | |
tree | 9000b6441aca0a23e67d8c4307ed2de97f81b56f | |
parent | Fix cookies is None bug (diff) | |
download | gpt4free-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.py | 2 |
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": [], |