Commit graph

1478 commits

Author SHA1 Message Date
hlohaus
fe0d8e811d Add make_chat_private function and enhance message formatting for Yupp provider @GamerReady 2025-10-18 21:52:07 +02:00
Ammar
d322083305
OpenaiChat: add auth_result.headers to ImageResponse (#3211)
* Update OpenaiChat.py

---------

Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com>
2025-10-18 17:33:17 +02:00
hlohaus
84105bd033 Refactor LMArena to use UUID version 7 for message IDs and add a new uuid.py module for UUID generation 2025-10-17 20:18:59 +02:00
hlohaus
bbf3c8e427 Remove unused message formatting function and clean up Yupp account reward claiming logic 2025-10-14 20:52:06 +02:00
hlohaus
f7ebd1b22f Refactor Yupp provider to use get_last_user_message and streamline request payload construction 2025-10-14 09:32:03 +02:00
hlohaus
5ca513396e Refactor Yupp provider to enhance media handling and improve request structure 2025-10-12 19:26:21 +02:00
hlohaus
cf4ab392b6 Add random cookie generation and enhance authentication flow in Copilot 2025-10-10 09:19:01 +02:00
hlohaus
a727866caa Enhance GLM provider with authentication signature generation and caching; update setup.py dependencies 2025-10-09 17:43:09 +02:00
hlohaus
867b3e8c7e Refactor ApiAirforce class to enhance async generator and improve rate limit handling; update setup.py dependencies 2025-10-08 09:12:32 +02:00
hlohaus
456589f1e5 Refactor get_access_token_and_cookies to include needs_auth parameter and improve cookie handling 2025-10-07 22:34:57 +02:00
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
H Lohaus
413835e538
Update Copilot.py 2025-10-04 13:37:27 +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
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
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
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
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
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
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
d7375d4c6c Add Claude provider with authentication handling and update Nvidia provider 2025-09-11 20:55:31 +02:00
hlohaus
217c1e85db Enhance OpenaiTemplate and Nvidia providers with support for text/plain responses and improved error handling 2025-09-09 21:18:47 +02:00
H Lohaus
6ad8c8c397
Merge pull request #3173 from restartxx/feat/add-qwen3-max-model
feat(qwen): add support for qwen3-max-preview model
2025-09-09 20:22:25 +02:00
hlohaus
de688319ae Add error handling for missing authentication and Unicode encoding in response streaming 2025-09-08 15:40:32 +02:00
hlohaus
7e34009fc9 Enhance LMArena and PuterJS providers with error handling and model filtering improvements 2025-09-08 09:19:10 +02:00