Commit graph

3865 commits

Author SHA1 Message Date
hlohaus
8225e99ab2 Add MissingAuthError for unconfigured Yupp accounts 2025-10-07 19:51:14 +02:00
hlohaus
bfd4fd4234 Add Yupp provider URLs for API and login 2025-10-07 19:26:43 +02:00
hlohaus
d72ce26b6b Add initial implementation of Yupp provider 2025-10-07 04:56:17 +02:00
hlohaus
73a3d3a48b Refactor Yupp provider: streamline API request handling, improve logging, and enhance model selection processing 2025-10-06 18:11:51 +02:00
hlohaus
b2efb16b86 Enhance Yupp provider with model tags management and improve response handling 2025-10-06 13:19:07 +02:00
hlohaus
fec4185215 Enhance Yupp provider to support API key management in model fetching 2025-10-06 09:13:53 +02:00
H Lohaus
ef0867c0dc
Update models.py 2025-10-06 08:08:21 +02:00
hlohaus
d1df33ef4b Add Yupp provider implementation with account management and model fetching 2025-10-06 07:16:01 +02:00
hlohaus
d309e0df1d Add cf_ipcountry header to Api class and enhance output_tokens handling in Usage class 2025-10-04 22:17:07 +02:00
H Lohaus
8366a2956a
Update backend.py 2025-10-04 19:30:32 +02:00
H Lohaus
f17056ff71
Update backend.py 2025-10-04 19:29:09 +02:00
hlohaus
242c8281fd Enhance template.html with improved structure and styling; add table of contents, translation button, and accessibility features. 2025-10-04 15:15:23 +02:00
H Lohaus
413835e538
Update Copilot.py 2025-10-04 13:37:27 +02:00
H Lohaus
220f0fcd04
Update __init__.py 2025-10-04 13:16:55 +02:00
hlohaus
a18ceac0a5 Add StringableInference provider and update OpenaiTemplate for model retrieval 2025-10-04 12:33:53 +02:00
hlohaus
a55256a4c3 Add error handling for 401 status in Copilot; refactor JsonRequest and response classes for improved structure and clarity 2025-10-04 12:20:10 +02:00
hlohaus
1fb8b7e4c9 Refactor PollinationsAI model alias handling for improved string conversion; add audio_tokens field to CompletionTokenDetails; update data structure in Backend_Api for user data handling. 2025-10-04 00:48:46 +02:00
hlohaus
6b210f44f9 Refactor search and response handling; introduce CachedSearch and DDGS classes for improved web search functionality and response management. Add PlainTextResponse for handling plain text responses. Update requirements and setup for new dependencies. 2025-10-03 11:38:24 +02:00
hlohaus
305f47314f Refactor response handling in Completions and AsyncCompletions; improve raw response processing and fallback mechanism for better stream handling 2025-10-03 08:39:18 +02:00
hlohaus
e9527637b1 Refactor token details classes in stubs.py; rename and enhance token details structure for better clarity and functionality 2025-10-03 07:05:59 +02:00
hlohaus
cd42fa6d09 Refactor Copilot authentication handling; streamline cookie management and access token retrieval 2025-10-03 06:19:47 +02:00
hlohaus
4f4be37b5f Set default browser executable path if configured in BrowserConfig 2025-10-03 01:39:52 +02:00
Copilot
81f5f32ae8
Add /private/ route to GUI server (#3195)
* Initial plan

* Add /private/ route to GUI server

Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
2025-10-02 21:03:45 +02:00
hlohaus
edfc0e7c79 Enhance Copilot provider with cookie handling and user identity support; add Kimi provider; refactor usage tracking in run_tools. 2025-10-02 18:11:11 +02:00
H Lohaus
c5670047b6
Update OpenaiTemplate.py 2025-10-02 08:20:23 +02:00
hlohaus
3d264705b0 Fix response handling in Perplexity provider to clear value when it matches the end of full response 2025-10-02 06:00:03 +02:00
hlohaus
663f9e25c1 Add async_create_function to AnyProvider for improved async generator handling 2025-10-02 04:26:12 +02:00
hlohaus
86acad21ba Refactor iter_response and async_iter_response to consolidate chunk type checks for improved readability and maintainability. 2025-10-02 04:07:26 +02:00
hlohaus
f6309cb693 Refactor OpenaiTemplate to remove API key print statement; update model providers by removing Blackbox references; enhance error handling in raise_for_status_async to handle JSON decoding errors gracefully. 2025-10-02 03:12:36 +02:00
hlohaus
4399b432c4 Refactor OpenaiChat authentication flow; replace get_nodriver with async context manager and improve error handling
Update backend_anon_url in har_file.py for correct endpoint
Add async context manager for get_nodriver_session in requests module
Fix start-browser.sh to remove stale cookie file before launching Chrome
2025-10-02 02:08:20 +02:00
hlohaus
7d184411e2 Refactor OIVSCodeSer2 and OIVSCodeSer0501 classes; consolidate Perplexity provider and update OpenaiTemplate for API key handling 2025-10-02 00:55:01 +02:00
hlohaus
9931e874ee Add Perplexity provider and enhance response handling in existing providers 2025-10-01 23:41:38 +02:00
Ammar
c938760aac
fix LMArena get_models (#3189)
* fix

* Update PollinationsAI.py

* Update Qwen.py

* Update Qwen.py

* Update Qwen.py

* Update LMArena.py

* Update LMArena.py

* Update Qwen.py

* Update Qwen.py

* Update g4f/Provider/Qwen.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 13:10:26 +02:00
H Lohaus
8cea9b823a
Update README.md 2025-09-24 08:15:23 +02:00
Ammar
90627d595b
Qwen Catch error (#3186) 2025-09-23 00:00:10 +02:00
hlohaus
74fcb27cbc Add OpenRouterFree API key to environment and adjust max_tokens 2025-09-22 22:32:49 +02:00
hlohaus
391e1f463e Enhance Azure provider error handling and update environment variables 2025-09-22 22:21:03 +02:00
H Lohaus
cb0136fdcf
Update Qwen.py 2025-09-21 22:26:28 +02:00
H Lohaus
3e37961b00
Merge pull request #3184 from xtekky/3mora2-main
Swap model aliases for consistency and enhance model retrieval logic
2025-09-21 13:37:15 +02:00
hlohaus
5bac1a8bfb Refactor QwenCode and oauthFlow for improved model handling and credential management 2025-09-21 13:33:49 +02:00
hlohaus
9bed8da354 Swap model aliases for consistency and enhance model retrieval logic 2025-09-21 12:48:55 +02:00
H Lohaus
3fca4145c1
Merge pull request #3183 from xtekky/3mora2-main
Update Qwen
2025-09-21 11:57:20 +02:00
hlohaus
bb02eeb481 Add model alias for Kimi-K2-Instruct and update best_provider references 2025-09-21 11:55:29 +02:00
hlohaus
4e5c26fd60 Remove unused import and update sse_stream function signature for consistency 2025-09-21 11:40:54 +02:00
Ammar
bfc7707cd5 Qwen add media 2025-09-19 21:49:51 +03:00
hlohaus
f46c179359 Fix typo in organization_id attribute in Claude class 2025-09-13 21:49:57 +02:00
H Lohaus
f13a4fc715
Update LMArena.py 2025-09-13 17:10:45 +02:00
H Lohaus
ce888ad47c
Update OpenRouter.py 2025-09-13 17:10:01 +02:00
hlohaus
89a3da5800 Update STATIC_URL 2025-09-12 09:30:53 +02:00
hlohaus
91ea2d7a27 Add streaming endpoint for file management and enhance manage_files function 2025-09-12 00:30:12 +02:00