Commit Graph

51 Commits

Author SHA1 Message Date
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
hs_junxiang 50ecd887c8 Fix: TypeError: unsupported operand type(s) for |:... 2023-10-11 16:57:46 +08:00
Ikko Eltociear Ashimine 7e6df02367
fix typo in backend.py
occured -> occurred
2023-10-11 12:35:49 +09:00
abc c9c573a6e6 ~ | remove DeepAi 2023-10-10 22:04:42 +01:00
abc 8964d15dc3 ~ | g4f `v-0.1.5.8` 2023-10-10 15:48:56 +01:00
Commenter123321 be41898736 fix html 2023-10-10 15:56:35 +02:00
Commenter123321 86f7ea6b08 what 2023-10-10 15:54:07 +02:00
Commenter123321 d3040b0c14 change discord icon to telegram icon on gui 2023-10-10 15:37:29 +02:00
Commenter123321 9239c57200 fix provider thing in gui x2 2023-10-10 15:11:17 +02:00
Commenter123321 2c105cb595 fix provider thing in gui 2023-10-10 14:53:50 +02:00
Commenter123321 d719860e2a make internet searching better 2023-10-10 14:47:41 +02:00
abc e05987ace3 ~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxy 2023-10-09 23:47:58 +01:00
abc abc2fa2ca1 ~
Command line arguments for GUI
2023-10-09 23:46:14 +01:00
abc 7f8526a122 ~
New system for str to Provider
2023-10-09 23:46:02 +01:00
abc 64fe0ee487 ~ | g4f `v-0.1.5.6`
gui & interference can now be run with:

python -m g4f.gui.run

and

python -m g4f.interference.run
2023-10-08 13:31:46 +01:00