@ -15,9 +15,8 @@ class Bing(AsyncGeneratorProvider):
defcreate_async_generator(
model:str,
messages:list[dict[str,str]],
cookies:dict=None,
**kwargs
)->AsyncGenerator:
cookies:dict=None,**kwargs)->AsyncGenerator:
ifnotcookies:
cookies=get_cookies(".bing.com")
iflen(messages)<2:
@ -30,30 +29,31 @@ class Bing(AsyncGeneratorProvider):
ifcookies:
#TODO: Will implement proper cookie retrieval later and use a try-except mechanism in 'stream_generate' instead of defaulting the cookie value like this