Fix typo in system_message in FlowGpt

This commit is contained in:
Heiner Lohaus 2024-02-25 07:19:23 +01:00
parent dd2264b616
commit 140a1736b9

View File

@ -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": [],