Commit Graph

51 Commits

Author SHA1 Message Date
H Lohaus
4526dd46e3
Update HuggingChat.py 2024-11-18 11:21:32 +01:00
Heiner Lohaus
ea1448001d Add nodriver to Gemini provider,
Add slim docker image with google-chrome usage,
Add the new docker images to publish worklow,
Update requirements.txt and pip requirements
2024-11-17 11:06:37 +01:00
H Lohaus
6ce493d4df
Fix api streaming, fix AsyncClient (#2357)
* Fix api streaming, fix AsyncClient, Improve Client class, Some providers fixes, Update models list, Fix some tests, Update model list in Airforce provid
er, Add OpenAi image generation url to api, Fix reload and debug in api arguments, Fix websearch in gui

* Fix Cloadflare and Pi and AmigoChat provider

* Fix conversation support in DDG provider, Add cloudflare bypass with nodriver

* Fix unittests without curl_cffi
2024-11-16 13:19:51 +01:00
kqlio67
fde29c53e8 feat(g4f/Provider/HuggingChat.py: Enhance HuggingChat provider functionality 2024-11-12 09:04:33 +02:00
kqlio67
254228707b fix(g4f/Provider/HuggingChat.py): update conversation data request parameter 2024-11-11 21:18:12 +02:00
kqlio67
29835d951c fix(g4f/Provider/HuggingChat.py): handle JSON decode errors and response status 2024-10-19 22:33:06 +03:00
kqlio67
1617e515bc feat(g4f/Provider/HuggingChat.py): add new model support for Nemotron 2024-10-16 19:33:06 +03:00
kqlio67
7ac7dea13f feat(g4f/Provider/HuggingChat.py): add support for new model 2024-10-03 00:40:04 +03:00
kqlio67
8237de5d63 Updated g4f/models.py g4f/Provider/HuggingChat.py 2024-09-26 22:40:40 +03:00
kqlio67
1e62a9dd60 feat(g4f/Provider/HuggingChat.py): update model list and aliases 2024-09-25 20:05:39 +03:00
kqlio67
a6099ba48b feat(g4f/Provider/HuggingChat.): add Qwen2.5-72B model and alias 2024-09-25 08:01:39 +03:00
kqlio67
e23ee1f809 new model added 2024-09-12 22:11:01 +03:00
kqlio67
75bd017023 Bug fixes and improvements to HuggingChat provider 2024-09-12 21:43:28 +03:00
kqlio67
abea4ddbcc Bug fixes and improvements to HuggingChat and HuggingFace providers 2024-09-12 21:35:31 +03:00
kqlio67
11f702e0ac refactor(models): update HuggingChat, HuggingFace provider models and aliases 2024-09-12 18:06:52 +03:00
kqlio67
abefd7f36f refactor(g4f/Provider/HuggingFace.py, g4f/Provider/HuggingChat.py): update provider models and aliases 2024-09-12 17:55:39 +03:00
kqlio67
f1683c8db8 Comprehensive Updates and Enhancements Across Multiple Providers 2024-08-31 09:47:39 +03:00
zukixa
bda2d67927 fix for 500 Internal Server Error #2199 [Request] Blackbox provider now support Gemini and LLaMa 3.1 models #2198 with some stuff from #2196 2024-08-28 23:03:32 -07:00
abc
8ef5207a17 update huggingface provider 2024-08-16 22:25:38 +02:00
kqlio67
29c13e26cd Comprehensive Update: New Providers, Model Enhancements, and Functionality Improvements 2024-07-25 09:21:55 +03:00
kqlio67
a8ab2ad771
Add files via upload 2024-07-08 20:49:38 +00:00
abc
46c48bb09e Fix HuggingFace formatting 2024-06-29 16:00:50 +02:00
abc
ac0bd092c0 unpatch HuggingChat 2024-06-26 12:55:03 +01:00
Eien Mojiki 🍕
0850c81118
Update HuggingChat provider
- Fix null string in response token temporarily 
- Add new model `01-ai/Yi-1.5-34B-Chat` that works well using Japanese.
2024-06-07 12:56:50 +07:00
Eien Mojiki 🍕
c85960566d
Add microsoft/Phi-3-mini-4k-instruct model 2024-04-24 23:49:41 +07:00
Heiner Lohaus
74c399d675 Add conversation title change in gui
Fix bug with multiple requests a .har in OpenaiChat
2024-04-23 17:34:42 +02:00
Heiner Lohaus
002a4a1d7f Fix typo in model list 2024-04-22 20:02:17 +02:00
PD
5fd118f3c9
Added Meta llama-3 support! (#1856)
* Added Meta llama-3 support!
Decided to change llama2.py to llama.py to hold all the llama family models.

* updated HuggingChat provider

* Update FlowGpt.py
2024-04-19 09:27:33 +02:00
abc
2fad27b2c5 new gpt-4 beating opensource models 2024-04-13 03:09:11 +01:00
Heiner Lohaus
f724c07f1b Add labels to provider list 2024-04-12 20:58:40 +02:00
H Lohaus
e5e811fd7f
Update HuggingChat.py 2024-04-07 00:01:04 +02:00
Heiner Lohaus
347d3f92da Add .har file support for OpenaiChat
Update model list of HuggingChat
Update styles of scrollbar in gui
Fix image upload in gui
2024-03-25 21:06:51 +01:00
えいえん ~UwU~
7dc4532580
Add google/gemma-7b-it model to model list 2024-03-22 12:39:10 +07:00
Heiner Lohaus
ec51e9c764 Fix HuggingChat and PerplexityLabs and add HuggingFace provider
Add more models and image generation in You provider
Use You as second default image provider
2024-03-11 02:41:59 +01:00
Miezhiko
6d1f0b5f12
add CodeLlama-70b to HuggingChat 2024-02-06 10:29:30 +04:00
H Lohaus
feb83c168b
New minimum requirements (#1515)
* New minimum requirements
* Add ConversationStyleOptionSets to Bing
* Add image.ImageRequest
* Improve python version support
* Improve unittests
2024-01-26 07:54:13 +01:00
Heiner Lohaus
69ef224f92 Add get_connector helper 2024-01-24 00:46:35 +01:00
Heiner Lohaus
8864b70ee4 Add aiohttp_socks support 2024-01-23 23:48:11 +01:00
Heiner Lohaus
91feb34054 Add ProviderModelMixin for model selection 2024-01-23 19:44:48 +01:00
Heiner Lohaus
f5518bb94d Cleanup model list 2024-01-23 05:02:14 +01:00
Heiner Lohaus
38dbe4b8e5 Improve CreateImagesBing
Sort providers by category
2024-01-22 03:38:11 +01:00
Heiner Lohaus
6a61cf8116 Sort providers in new dirs 2023-10-04 07:20:51 +02:00
Heiner Lohaus
98895e5b09 Update HuggingChat to new api
Impersonate Aivvm Provider
Add ChatForAi and FreeGpt Provider
Update AItianhuSpace Provider
Improve StreamRequest Support
Update get_event_loop Helper
2023-10-01 06:38:11 +02:00
Heiner Lohaus
a3ecabb00e Improve Vercel Provider:
- Fix endless loop
 - Add proxy, async support
 - Add default model
 Fix HuggingChat Provider
2023-09-23 11:42:30 +02:00
Heiner Lohaus
82bd6f9180 Cache "snlm0e" in Bard
Improve error handling in ChatgptLogin
Fix async example in readme
2023-09-20 06:12:34 +02:00
Tekky
78bfbe717d
Revert "Fix type hint" 2023-09-17 22:23:54 +01:00
MIDORIBIN
c6f2277906 fix typo: provider -> Provider 2023-09-16 10:36:47 +09:00
Heiner Lohaus
ddb6fa30d9 Add CodeLinkAva Provider, Improve test_async.py 2023-09-09 23:07:00 +02:00
Heiner Lohaus
5ca47b44b2 Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat Provider 2023-09-05 17:27:24 +02:00
msi-JunXiang
901595b10f type hints
Use `from __future__ import annotations avoid `dict` and `list` cause "TypeErro: 'type' object is not subscriptable".

Refer to the following Stack Overflow discussions for more information:
1.
https://stackoverflow.com/questions/75202610/typeerror-type-object-is-not-subscriptable-python
2.
https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable
2023-09-03 16:26:26 +08:00