mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-17 21:41:34 +03:00
Join Phind context
This commit is contained in:
parent
64052f253b
commit
7e63b412b6
@ -55,7 +55,7 @@ class Phind(AsyncGeneratorProvider):
|
||||
"creativeMode": creative_mode,
|
||||
"customLinks": []
|
||||
},
|
||||
"context": ([message["content"] for message in messages if message["role"] == "system"])[0] if ([message["content"] for message in messages if message["role"] == "system"]) else "",
|
||||
"context": "\n".join([message["content"] for message in messages if message["role"] == "system"]),
|
||||
"rewrittenQuestion": prompt,
|
||||
"challenge": 0.21132115912208504
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user