mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-26 12:41:56 +03:00
Update Aivvm.py
This commit is contained in:
parent
6135f4ac08
commit
417ce27422
@ -45,12 +45,12 @@ class Aivvm(AsyncGeneratorProvider):
|
|||||||
"temperature" : kwargs.get("temperature", 0.7)
|
"temperature" : kwargs.get("temperature", 0.7)
|
||||||
}
|
}
|
||||||
headers = {
|
headers = {
|
||||||
"Accept": "*/*",
|
"Accept": "text/event-stream",
|
||||||
"Origin": cls.url,
|
"Origin": cls.url,
|
||||||
"Referer": f"{cls.url}/",
|
"Referer": f"{cls.url}/",
|
||||||
}
|
}
|
||||||
async with StreamSession(
|
async with StreamSession(
|
||||||
impersonate="chrome107",
|
impersonate="chrome117",
|
||||||
headers=headers,
|
headers=headers,
|
||||||
proxies={"https": proxy},
|
proxies={"https": proxy},
|
||||||
timeout=timeout
|
timeout=timeout
|
||||||
|
Loading…
Reference in New Issue
Block a user