Commit graph

2257 commits

Author SHA1 Message Date
hlohaus
2317bd5a83 Refactor MarkItDown and OpenaiChat classes for improved media handling and optional parameters; enhance is_data_an_media function to support binary/octet-stream return type for unsupported URLs. 2025-10-31 18:16:19 +01:00
hlohaus
35e3fa95f3 Enhance Perplexity provider to yield additional response types including sources, media items, and suggested follow-ups; update response formatting in response classes for improved data handling. 2025-10-31 15:48:26 +01:00
hlohaus
23218c4aa3 Refactor Copilot and PollinationsAI classes for improved error handling and timeout adjustments; add rate limiting in API class based on user IP. 2025-10-31 14:17:41 +01:00
hlohaus
3b4ad875cc Enhance G4F API key decryption by logging decrypted data and adding referrer validation 2025-10-31 10:53:28 +01:00
hlohaus
046e009e39 Enhance user validation in Api class by adjusting username criteria and ensuring proper formatting with country prefix 2025-10-31 06:24:20 +01:00
hlohaus
7ee118e20c Refactor OpenaiTemplate and Api classes for improved error handling and user identification 2025-10-31 06:01:58 +01:00
hlohaus
9b3e7a69d2 Refactor Dockerfile and backend API for improved image processing and dependency management 2025-10-31 03:52:10 +01:00
hlohaus
f571237eb7 Add YouTubeConverter for enhanced document conversion and update import paths 2025-10-31 03:07:21 +01:00
hlohaus
da6c00e2a2 Refactor Cloudflare and LMArena providers to enhance authentication handling and improve WebSocket communication 2025-10-30 21:34:45 +01:00
H Lohaus
63315df501
Update __init__.py 2025-10-30 16:48:22 +01:00
H Lohaus
52781f3c4c
Update __init__.py 2025-10-30 16:47:29 +01:00
H Lohaus
7c8cf45631
Update __init__.py 2025-10-30 16:46:36 +01:00
hlohaus
a9950deb39 Update StringableInference to set working status to False and remove unused format_prompt import in Yupp provider 2025-10-29 23:13:56 +01:00
hlohaus
0bc0ce7df1 Refactor Yupp provider to use asyncio and aiohttp for asynchronous operations 2025-10-20 22:42:19 +02:00
Ammar
e724893a29
add mode, timeout (#3213)
* Update Yupp.py

---------

Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com>
2025-10-20 22:09:22 +02:00
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
5c49074b4f Refactor deepseek-r1-0528 model to simplify best_provider assignment 2025-10-17 20:27:29 +02:00
hlohaus
561e9bf2b2 Refactor SafeUUID class definition to use Enum directly and remove unused import 2025-10-17 20:24:31 +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
74165c616b Update Dockerfile-slim to include gcc and fix environment variable check in cookies.py 2025-10-10 09:21:32 +02:00
hlohaus
cf4ab392b6 Add random cookie generation and enhance authentication flow in Copilot 2025-10-10 09:19:01 +02:00
hlohaus
77afb46c50 Update RequestConfig to set download_media default to False and add raw parameter; modify AsyncCompletions to handle raw_response correctly 2025-10-09 19:39:13 +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
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
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