Commit Graph

65 Commits

Author SHA1 Message Date
Heiner Lohaus
43cb4e614f Add remove messages from history
Improve hidding regenerated messages
2024-02-24 06:57:20 +01:00
Heiner Lohaus
1b4a86a857 Update client docs, Enable some tests 2024-02-22 04:35:11 +01:00
Heiner Lohaus
e5b7f72b71 Move some modules, create providers dir
Set min version for duckduckgo
Make duckduckgo search async
Remove get_lastet_version
2024-02-22 00:16:58 +01:00
Heiner Lohaus
d55a4c3ef5 Add MathJax to GUI #1563, Add model name to GUI #1600 2024-02-19 18:29:23 +01:00
Heiner Lohaus
aba4b96f23 Add new Client API with Docs
Use object urls for the preview of image uploads.
Fix upload images in You provider
Fix create image. It's now a single image.
Improve system message for create images.
2024-02-12 11:41:27 +01:00
Heiner Lohaus
76ec2064ad Add disable history button in GUI 2024-02-11 08:29:23 +01:00
Heiner Lohaus
331826b003 Add upload image in You provider 2024-02-11 06:59:53 +01:00
Heiner Lohaus
daf2b6ac3b Fix convert image to jpg in Bing
Fix display upload image in GUI
2024-02-11 03:33:02 +01:00
Heiner Lohaus
6c422b2965 Add GPT 4 support in You, Add camera input, Enable logging on debug in GUI, Don't load expired cookies 2024-02-11 01:59:57 +01:00
Heiner Lohaus
47900f2371 Resolve images in Gemini Provider 2024-02-09 03:31:05 +01:00
Heiner Lohaus
c1b992c346 Add Gemini Provider with image upload and generation 2024-02-08 22:02:52 +01:00
Heiner Lohaus
a28bab9387 Add aiohttp_socks to requirements
Fix preview for uploaded and generated images in gui
Improve typing, readme
2024-01-29 18:14:46 +01:00
Heiner Lohaus
1eb7dc05e5 Fix: ChromeDriver only supports characters in the BMP
Add set_cookies helper, Show last used model
2024-01-26 12:49:52 +01: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
2193d18865 Fix background in select box 2024-01-23 05:02:40 +01:00
Heiner Lohaus
07c944ad0a Add upload svg image support
Fix upload image in Bing Provider
2024-01-23 01:47:55 +01:00
Heiner Lohaus
9cbe9c1ccb Improve tests 2024-01-21 02:20:23 +01:00
H Lohaus
42709f55b2
Fix unittests (#1472)
* Fix unittests

* Fix missing distutils, install setuptools

* Fix version not found

* Remove deprecation in get_event_loop
2024-01-14 16:37:21 +01:00
Heiner Lohaus
32252def15 Change doctypes style to Google
Fix typo in latest_version
Fix Phind Provider
Add unittest worklow and main tests
2024-01-14 15:04:37 +01:00
Heiner Lohaus
5756586cde Refactor code with AI
Add doctypes to many functions
Add file upload for text files
Add alternative url to FreeChatgpt
Add webp to allowed image types
2024-01-14 07:45:41 +01:00
Heiner Lohaus
ceed364cb1 Fix process_image in Bing
Add ImageResponse to Bing
Fix cursor styling in gui
2024-01-13 18:10:43 +01:00
Heiner Lohaus
7968ae52fb Fix merge issues 2024-01-13 15:56:29 +01:00
Heiner Lohaus
ea8d6b847a Support upload image in gui
Add image upload to OpenaiChat
Add image response to OpenaiChat
Improve ChatGPT Plus Support
Remove unused requirements
2024-01-13 15:37:36 +01:00
Heiner Lohaus
a7c8565922 Add publish-to-pypi workflow
Improve gui frontend
Fix web search in bing
2024-01-12 02:14:35 +01:00
H Lohaus
bee75be8e3
Add create images to Bing (#1426)
Add create images from Bing
Add FreeChatgpt Provider
Fix Bard Provider
2024-01-10 10:34:56 +01:00
Heiner Lohaus
685aeff5ef Fix markdown replace 2024-01-02 01:03:39 +01:00
Heiner Lohaus
e0aaad8f47 Fix permissions for chromedriver
Fix NoVNC server access
Remove java from build
2024-01-01 23:20:48 +01:00
Heiner Lohaus
c617b18d12 Add support for all models
Add AbstractProvider class
Add ProviderType type
Add get_last_provider function
Add version module and  VersionUtils
Display used provider in gui
Fix error response in api
2024-01-01 17:48:57 +01:00
Yash Varshney
b5368c276d
remove unnecessary semicolon 2024-01-01 01:42:10 +05:30
NiNiyas
0b2f7898d4 fix(g4f): Fix typo in function name 2023-12-19 10:38:12 +05:30
Heiner Lohaus
b2d02ed624 Change default port for gui
Change default host for api
Disable gui in build
Add custom docker user
2023-12-11 02:50:33 +01:00
Heiner Lohaus
d743ee0c26 Add error classes
Move version check to debug
2023-12-11 00:56:06 +01:00
Heiner Lohaus
c7307030a9 Improve error handling in gui 2023-12-10 22:10:56 +01:00
Heiner Lohaus
bf41cfc5d1 Add G4F_PROXY environment
Add regenerate button in gui
2023-12-10 21:46:11 +01:00
Heiner Lohaus
bb34642fcb Update readme. Add docker hub 2023-12-07 14:30:55 +01:00
H Lohaus
484b96d850
Add websearch to gui (#1314)
* Add websearch to gui
* Fix version_check config
* Add version badge in README.md
* Show version in gui
* Add docker hub build
* Fix gui backend, improve style
2023-12-07 07:18:05 +01:00
Heiner Lohaus
c667f1cec5 Improve docker image 2023-12-06 11:54:50 +01:00
Heiner Lohaus
3576dee75a Add selenium to dockerfile
Load model and provider list in gui
Remove needs_auth in HuggingChat
Add default model and login url in gui
2023-12-06 09:35:36 +01:00
pakmmc
4359be5468
Remove height restriction
Currently has blank black space at the bottom of the screen on 13" devices
2023-11-08 13:55:55 +13:00
hdsz25
b8a3db526c
Update backend.py, index.html, requirements.txt (#1180)
* Update backend.py

change to the model that received from user interactive from the web interface model selection.

* Update index.html

added Llama2 as a provider selection and also include the model selection for Llama2: llama2-70b, llama2-13b, llama2-7b

* Update requirements.txt

add asgiref to enable async for Flask in api.
"RuntimeError: Install Flask with the 'async' extra in order to use async views"
2023-10-28 17:58:36 +02:00
unknown
03dc8532f9 added context 2023-10-27 23:35:10 +03:00
catmeowjiao
6fd2fa971f add proxy support 2023-10-26 22:18:38 +08:00
ⲘrṨhส∂ow
3982f39424
'Refactored by Sourcery' (#1125)
Co-authored-by: Sourcery AI <>
2023-10-23 09:46:25 +02:00
abc
04edb66065 ~
fix gui errors on iOS
2023-10-19 20:25:13 +01:00
abc
5b52d5a2ee ~ | g4f v-0.1.6.8
some quick fixes
2023-10-19 19:37:56 +01:00
abc
d4ab83a45b ~
automatic models fetching in GUI.
2023-10-19 15:14:48 +01:00
abc
76083c5a17 ~ 2023-10-19 14:27:29 +01:00
Ezra Adeyinka
6a74fc3a95 fix: remove typo in readme and configs 2023-10-13 08:05:51 +01:00
Arran Hobson Sayers
77697be333 Unify g4f tools into one CLI 2023-10-12 02:35:11 +01:00
Tekky
c433863f30
~ | Merge pull request #1044 from Lin-jun-xiang/main
Fix: TypeError: unsupported operand type(s) for |:...
2023-10-11 18:49:41 +01:00