Commit Graph

75 Commits

Author SHA1 Message Date
Heiner Lohaus
20ab17f31a Improve gui handling, Improve count tokens 2024-03-03 11:34:56 +01:00
Heiner Lohaus
1ec37aea22 Fix history on error, fix count words for chinese 2024-03-02 17:32:12 +01:00
Heiner Lohaus
3b96c27e3c Ignore empty auth header in api
Add live token count in gui
2024-02-29 14:44:51 +01:00
Heiner Lohaus
0bfaede7df Fix filter messages in gui 2024-02-26 11:48:05 +01:00
Heiner Lohaus
02b84fb519 Improve filter_messages in gui
Add rdns suport for proxies
2024-02-26 10:59:18 +01:00
Heiner Lohaus
12464bfac0 Improve mobile css styles 2024-02-25 21:31:52 +01:00
Heiner Lohaus
b4b74c991b gui: remove cursor on errors
Add auth header to GeminiPro provider
2024-02-25 15:48:03 +01:00
Heiner Lohaus
84b3a19c9d Improve show result in gui 2024-02-25 10:03:27 +01:00
Heiner Lohaus
0ade2098a6 Add count word and tokens in gui 2024-02-24 20:09:38 +01:00
Heiner Lohaus
55caf8e7de Add FlowGpt provider, Fix issue with None values in api 2024-02-24 14:52:23 +01:00
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