Commit Graph

130 Commits

Author SHA1 Message Date
hlohaus
470b795418 Show only free providers by default 2025-02-21 06:52:04 +01:00
hlohaus
226c69da93 Improve styling mobile 2025-02-11 18:58:53 +01:00
H Lohaus
34b815b38e Merge pull request #2705 from kqlio67/main
Updated Blackbox/CablyAI/PollinationsAI provider
2025-02-10 21:36:16 +01:00
kqlio67
bd8071b3ed feat(g4f/gui/client/static/js/chat.v1.js): enhance sidebar interactions 2025-02-10 22:33:47 +02:00
hlohaus
2d6ce560d4 Fix issue with demo mode
Fix issue with share API
2025-02-08 18:35:05 +01:00
hlohaus
ad5d09fbbe Fix show new Window Button 2025-02-07 13:13:09 +01:00
hlohaus
035daa225b Add FluxDev to G4F provider
Improve image preview in FluxDev
Add zerogpu_token to FluxDev
Add HuggingSpace header in Demo
Add new window button in Demo
2025-02-06 21:24:59 +01:00
hlohaus
9994bb67a1 Add zerogpu_uuid to demo 2025-02-05 17:07:20 +01:00
hlohaus
88918cb897 Remove login url from error message
Remove print in CablyAI
Fix Vision Support in HuggingSpace provider
Support images in BackendApi provider
Add missing import in Blackbox provider
2025-02-05 13:37:55 +01:00
hlohaus
03d0c3053f Add mew G4F provider 2025-02-05 01:29:11 +01:00
hlohaus
44289e1f91 Add error message on Ratelimit 2025-02-04 17:31:26 +01:00
hlohaus
1ca889cb21 Fix report errors, update demo model list 2025-02-04 17:11:58 +01:00
hlohaus
1d00be5b91 Fix api_key in HuggingFace provider
Split PollinationsAI provider in two provider
Update model list in CablyAI
Return backup url, if copy images failed
Update url for logging in UI
2025-02-04 16:25:51 +01:00
hlohaus
0638cbc175 Improve select custom model in UI
Updates for the response of the BackendApi
Update of the demo model list
Improve web search tool
Moved copy_images to /image
2025-02-03 20:23:21 +01:00
H Lohaus
62ed2e394e Merge branch 'main' into New 2025-02-02 23:31:53 +01:00
hlohaus
167ceedd31 Update model list in OpenaiChat (o3-mini, o3-mini-high)
Add Reasoning to OpenaiChat provider
Check for pipeline_tag in HuggingChat providers
Add image preview in PollinationsAI
Add input of custom Model in GUI
2025-02-02 23:03:59 +01:00
H Lohaus
0b9dd5b540 Merge pull request #2663 from xtekky/New
Fix response type of reasoning in UI
2025-02-01 12:32:19 +01:00
hlohaus
797b17833a Fix response type of reasoning in UI 2025-02-01 12:15:46 +01:00
H Lohaus
4231fb0a18 Merge pull request #2656 from xtekky/31Jan
Fix filter user messages in UI
2025-02-01 01:16:13 +01:00
hlohaus
f465ad71f8 Fix filter user messages in UI 2025-02-01 01:14:38 +01:00
H Lohaus
6c8d5818f2 Merge pull request #2655 from xtekky/31Jan
Fix styling in GUI, improve mobile support
2025-02-01 00:49:27 +01:00
kqlio67
3b091647fa Added new models and providers, improved interface components, improved providers (#2646)
* Fix conflict g4f/gui/client/static/css/style.css g4f/gui/client/static/js/chat.v1.js g4f/models.py g4f/Provider/.

* Update g4f/Provider/Blackbox.py

* Update g4f/Provider/PollinationsAI.py

* Update docs/providers-and-models.md

* Disabled provider 'AIUncensored'

* Two providers 'AIChatFree, AutonomousAI' are disabled

---------

Co-authored-by: kqlio67 <>
2025-02-01 00:49:08 +01:00
hlohaus
63b7e96c28 Fix styling in GUI, improve mobile support 2025-02-01 00:46:37 +01:00
hlohaus
efacc15d92 Support options like max_depth in downloads.json
Add created buckets automatic to messages
Don't add images to scrape result without title
2025-01-28 22:33:49 +01:00
hlohaus
9524c3f327 Add AsyncAuthedProvider in Copilot
Add orginal url to downloaded image
Support ssl argument in StreamSession
Report Provider and Errors in RetryProvider
Support ssl argument in OpenaiTemplate
Remove model duplication in OpenaiChat
Disable ChatGpt provider and remove it from models.py
Update slim requirements
Support provider names as model name in Image generation
Add model qwen-2.5-1m-demo to models.py
2025-01-28 20:33:50 +01:00
hlohaus
1378c5027a Report erros in UI by default 2025-01-27 23:40:37 +01:00
hlohaus
16e5d9ee86 Add Feature provider in demo
Support default provider in DDG
Read api_key from config file
2025-01-27 23:33:21 +01:00
hlohaus
17bd3b3ac6 Fix report errors 2025-01-27 18:12:34 +01:00
hlohaus
c18f10243e Check request limit in demo only in API
Stop recognition in UI on enter request
Fix Ratelimt for Ping in GUI
Use OpenaiTemplate for OIVSCode
Support Reasoning in Blackbox
Add error reporting in UI
Support Custom Provider in Demo
2025-01-27 17:37:25 +01:00
hlohaus
0bdfd990bd Support <think> token in OpenaiTemplate
Fix image selection on mobile
Support boxed inline MathJax
2025-01-27 13:04:30 +01:00
hlohaus
19bf5b7ef6 Fix upload files in demo mode
Updates for memory with mem0
Fix asyncio import in nodriver function
Add provider specific api endpoints
Support for open settings in UI at /chat/settings
2025-01-26 21:56:31 +01:00
hlohaus
5ee34a993e Fix issue reading provider model list 2025-01-26 16:48:27 +01:00
hlohaus
42805ac789 Add leagcy port to docker-compose files
Update demo model list
Disable upload cookies in demo
Track usage in demo mode
Add messages without asking the ai
Add hint for browser usage in provider list
Add qwen2 prompt template to HuggingFace provider
Trim automatic messages in HuggingFaceAPI
2025-01-26 16:32:32 +01:00
hlohaus
5a0afdb110 Handle demo modus in Web UI 2025-01-26 04:25:21 +01:00
hlohaus
fd5fa8a4eb Update provider parameters, check for valid provider
Fix reading model list in GeminiPro
Fix  check content-type in OpenaiAPI
2025-01-24 09:45:40 +01:00
hlohaus
cad308108c Support TitleGeneration, Reasoning in HuggingChat
Improve model list in HuggingSpace, PollinationsAI
Fix Image Generation in PollinationsAI
Add Image Upload in PollinationsAI
Support Usage, FinishReason,  jsonMode in PollinationsAI
Add Reasoning to Web UI
Fix using provider api_keys in Web UI
2025-01-23 23:16:12 +01:00
hlohaus
df7f9e4c24 Readd JsApi for Webview UI
Add Web Share Target to Mainifest
Add target to GUI:  /chat/?prompt=your input:
Add local Font Awesome Free
Update icons to new Font Awesome Version
Add Providers to Model list in /v1/models
Reefresh auth on 403 error in OpenaiChat
2025-01-15 19:05:39 +01:00
Heiner Lohaus
2df2d6b0cf Read FinishReason and Usage from Gemini API
Add "Custom Provider": Set  API Url in the settings
Remove Discord link from result, add them to  attr: Jmuz
Fix Bug: File content are added to the prompt
Changed response from /v1/models API
Disable Pizzagpt Provider
2025-01-14 17:07:39 +01:00
Heiner Lohaus
2064bb7355 Add CohereForAI provider,
Updates for You.com provider
Add default system prompt in UI
Expose novnc port in docker
2025-01-12 03:07:42 +01:00
Heiner Lohaus
92005dacfc Disable scroll to bottom for first message 2025-01-10 18:41:04 +01:00
Heiner Lohaus
c908dba06e Add login utl to HuggingFace in Web UI
Add some HuggingSpace providers
Add icon to home.html
Remove duplicate lines from web search results
Fix object async_generator can't be used in 'await'
Fix for continue message
2025-01-10 18:19:06 +01:00
Heiner Lohaus
f05d069896 Add DeepSeek Provider
Add get api keys urls to GUI
2025-01-07 17:09:10 +01:00
Heiner Lohaus
ef642f5baf Improve merge_messages in GUI 2025-01-07 15:21:43 +01:00
Heiner Lohaus
2e531d227c Fix invalid escape in requests module
Add none auth with OpenAI using nodriver
Fix missing 1 required positional argument: 'cls'
Update count tokens in GUI
Fix streaming example in requests guide
Remove ChatGptEs as default model
2025-01-06 23:20:29 +01:00
Heiner Lohaus
13b6fdef98 Add files requirements 2025-01-05 20:20:25 +01:00
Heiner Lohaus
12c413fd2e Add Edge as Browser for nodriver
Fix for RetryProviders doesn't retry
Add retry and continue for DuckDuckGo provider
Add cache for Cloudflare provider
Add cache for prompts on gui home
Add scroll to bottom checkbox in gui
Improve prompts on home gui
Fix response content type in api for files
2025-01-05 17:02:15 +01:00
Heiner Lohaus
6e0bc147b5 Support continue messages in Airforce
Add auth caching for OpenAI ChatGPT
Some provider improvments
2025-01-03 20:35:46 +01:00
Heiner Lohaus
486e9a9122 Add login_url to authed providers
Create a home page for the GUI
Fix CopyButton in Code Highlight
2025-01-03 02:40:21 +01:00
Heiner Lohaus
74a289ae64 Add Anthropic provider 2025-01-02 02:33:09 +01:00
Heiner Lohaus
0d59789eed Add File API Documentation for Python and JS
Format Bucket Placeholder in GUI
2025-01-01 14:01:33 +01:00