Commit graph

2947 commits

Author SHA1 Message Date
hlohaus
b86bf0dcf7 Fix include in mocks.py 2025-02-03 21:24:37 +01:00
hlohaus
9c8aedbeb1 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:55 +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
67b44fd4e6
Merge pull request #2674 from xtekky/New
Update model list in OpenaiChat (o3-mini, o3-mini-high)
2025-02-02 23:35:50 +01:00
H Lohaus
62ed2e394e
Merge branch 'main' into New 2025-02-02 23:31:53 +01:00
hlohaus
eff81c3015 Fix pass session paramters in HuggingFaceAPI 2025-02-02 23:10:33 +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
c9a9686b7d
Update README.md 2025-02-02 14:30:37 +01:00
H Lohaus
370d904696
Merge pull request #2664 from xtekky/New
Fix response type of reasoning in UI
2025-02-01 13:20:27 +01:00
hlohaus
18968eed02 Fix response type of reasoning in UI 2025-02-01 12:54:32 +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
235cff31c6
Update README.md 2025-02-01 02:09:15 +01:00
H Lohaus
2511ab18e5
Update README.md 2025-02-01 02:08:47 +01:00
H Lohaus
0fc73eb1ff
Merge pull request #2657 from xtekky/New
Fix publish to pypi
2025-02-01 02:06:35 +01:00
hlohaus
6b8e6adc9d Fix publish to pypi 2025-02-01 02:04:51 +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
Tekky
6ac55e1096
correct discord server 2025-01-31 20:41:33 +01:00
H Lohaus
e46d1e704a
Merge pull request #2653 from xtekky/31Jan
Update GUI Command in README
2025-01-31 19:10:54 +01:00
hlohaus
e560bbb268 Update GUI Command in README 2025-01-31 19:09:38 +01:00
H Lohaus
09cb164b35
Merge pull request #2652 from hlohaus/demo
Support reasoning tokens by default
2025-01-31 19:04:30 +01:00
H Lohaus
5960ac5bc3
Merge pull request #2647 from alinia10/fix-spelling
Update README.md
2025-01-31 19:01:14 +01:00
hlohaus
e43902cd52 Fix unittests on Github 2025-01-31 18:11:08 +01:00
hlohaus
89e096334d Support reasoning tokens by default
Add new default HuggingFace provider
Add format_image_prompt and get_last_user_message helper
Add stop_browser callable to get_nodriver function
Fix content type response in images route
2025-01-31 17:36:48 +01:00
H Lohaus
ad2ad9f611
Merge pull request #2644 from GDjkhp/patch-1
Update providers-and-models.md
2025-01-31 15:00:18 +01:00
Ali Niaraeis
a6af335bfa
Update README.md
Fix typo mistake in README.md
2025-01-30 17:20:57 +03:30
John Kennedy Haringa Peña
99c5df887f
Update providers-and-models.md
||
2025-01-30 13:30:43 +08:00
H Lohaus
9c30c4bffb
Merge pull request #2643 from hlohaus/demo
Add Janus_Pro_7B provider
2025-01-30 03:21:12 +01:00
hlohaus
ce7e9b03a5 Pass missing DeepSeekAPI import 2025-01-30 03:19:50 +01:00
hlohaus
2e89e5614d Raise MissingAuthError exception if access token are invalid 2025-01-30 03:13:11 +01:00
hlohaus
408031c9a1 Add cookies_to_dict for Copilot 2025-01-30 03:11:38 +01:00
hlohaus
9bec11023b Add Reasoning in PerplexityLabs, update model list 2025-01-30 01:15:07 +01:00
hlohaus
30381f687e Add Janus_Pro_7B provider
Add proof of DeepSeekAPI provider
Add BackendApi provider from HuggingSpace
2025-01-30 00:35:51 +01:00
H Lohaus
8909ca9937
Update retry_provider.py 2025-01-29 08:53:22 +01:00
H Lohaus
e123594cab
Merge pull request #2637 from hlohaus/demo
Support options like max_depth in downloads.json
2025-01-28 22:49:25 +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
H Lohaus
5adcf36372
Merge pull request #2635 from hlohaus/demo
Add model qwen-2.5-1m-demo to models.py
2025-01-28 21:53:05 +01:00
hlohaus
d4f736eb66 Add PreviewResponse type to respoonse types 2025-01-28 21:51:57 +01:00
hlohaus
2c895831b1 Fix unittests, set strategy for rate limter 2025-01-28 21:25:26 +01:00
hlohaus
17d2f05d69 Add model qwen-2.5-1m-demo to models.py 2025-01-28 20:52:45 +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
Sreejith BR
2591781089
Address issue #2628 (#2630)
* Address issue #2628

Initialized 'chunk_text' with an empty string before using it.

* Update Blackbox.py

Refactor <think> parsing logic for improved handling of reasoning content

Description:

Updated the code to retain <think> and </think> tags when yielding reasoning content.
Ensured cleaner splitting and handling of text around <think> and </think> tags.
Preserved original content structure in full_response.
2025-01-28 16:16:37 +01:00
H Lohaus
318f727bff
Merge pull request #2629 from hlohaus/demo
Demo
2025-01-28 00:10:14 +01:00
hlohaus
aef3d8dc66 Add missing changes 2025-01-27 23:45:49 +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