mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-18 08:02:09 +03:00
Join Phind context
This commit is contained in:
parent
64052f253b
commit
7e63b412b6
@ -55,7 +55,7 @@ class Phind(AsyncGeneratorProvider):
|
|||||||
"creativeMode": creative_mode,
|
"creativeMode": creative_mode,
|
||||||
"customLinks": []
|
"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,
|
"rewrittenQuestion": prompt,
|
||||||
"challenge": 0.21132115912208504
|
"challenge": 0.21132115912208504
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user