H Lohaus
32215bb7bb
Merge pull request #3257 from keac/main
...
Improve input handling in Grok.py
2025-11-26 13:59:33 +01:00
keacwu
05c108d3f6
Improve input handling in Grok.py
...
Refactor input selection and submission logic for better error handling and clarity.
2025-11-21 15:19:17 +08:00
Ammar
18fda760cb
Add image caching to Yupp provider ( #3246 )
...
* Add image caching to Yupp provider
Introduces an image cache to avoid redundant uploads in the Yupp provider. Refactors media attachment handling into a new prepare_files method, improving efficiency and code organization. Updates .gitignore to exclude .idea directory.
* Refactor Yupp stream handling and chunk processing
Improves stream segmentation in the Yupp provider by introducing buffers for target, variant, quick, thinking, and extra streams. Refactors chunk processing to better handle image-gen, quick responses, and variant outputs, and adds more robust stream ID extraction and routing logic. Yields a consolidated JsonResponse with all stream segments for downstream use.
* Handle ClientResponseError in Yupp provider
Adds specific handling for aiohttp ClientResponseError in the Yupp provider. Marks account as invalid on 500 Internal Server Error, otherwise increments error count and raises ProviderException for other errors.
* Update Yupp.py
fix 429 'Too Many Requests'
* Update Yupp.py
2025-11-15 18:16:03 +01:00
hlohaus
9c7fc9fe4a
Remove version declaration from Docker Compose files and update Dockerfile to streamline package installation
2025-11-14 19:52:57 +01:00
H Lohaus
f8978c1437
Update Dockerfile
2025-11-14 18:24:28 +01:00
hlohaus
fb26557dbb
Fix model retrieval process in AnyModelProviderMixin
...
- Added error handling around model retrieval to prevent crashes when a provider fails.
- Ensured that exceptions during model fetching are logged for debugging purposes.
- Cleaned up the indentation and structure of the model retrieval logic for better readability.
2025-11-14 17:24:28 +01:00
hlohaus
36e66950ca
Update default model to "gpt-5-1" and enhance text model list
2025-11-14 16:51:12 +01:00
hlohaus
2955729584
Fix docker build, fix temporary chat
2025-11-10 19:56:51 +01:00
H Lohaus
bed8b7c083
Update Dockerfile
2025-11-10 16:14:50 +01:00
hlohaus
7234402211
Remove redundant pip upgrade command from Dockerfiles
2025-11-10 14:07:27 +01:00
hlohaus
1dac52a191
Refactor PollinationsAI model selection logic; update default system in AIModel; clean up unused provider imports
2025-11-10 13:58:07 +01:00
hlohaus
213e04bae7
Fix LMAreana provider
2025-11-10 09:30:53 +01:00
H Lohaus
5bacb669b2
Merge pull request #3237 from 3mora2/main
...
Improve auth cookie detection in Copilot provider
2025-11-09 22:01:49 +01:00
Ammar
db2e066657
Improve auth cookie detection in Copilot provider
...
Adds a check for 'auth0' in cookies when authentication is required, ensuring the loop breaks appropriately once the relevant cookie is present.
2025-11-07 18:04:40 +02:00
hlohaus
4d98885ec0
Refactor LMArena provider to generate unique evaluation session IDs; remove redundant assignment
2025-11-02 09:02:31 +01:00
hlohaus
af56ac0c03
Enhance MCP server tests to reflect updated tool count; improve model fetching with timeout handling in providers
2025-11-02 08:01:20 +01:00
hlohaus
006b8c8d50
Fix origin handling in HTTP request processing for MCP server
2025-11-02 07:45:49 +01:00
hlohaus
a492352901
Add CORS support to MCP server and tools; enhance image URL handling in tools
2025-11-02 07:31:28 +01:00
hlohaus
5d53e58d2c
Add MarkItDownTool and TextToAudioTool; enhance scrape_text and fetch_and_scrape functions with metadata support
2025-11-02 04:32:32 +01:00
H Lohaus
8df4bc7118
Merge pull request #3228 from xtekky/copilot/create-mcp-server-for-gpt4free
...
Add MCP server with stdio and HTTP transports for web search, scraping, and image generation
2025-11-01 20:35:28 +01:00
hlohaus
5276e2d6d0
Remove MCP usage guide and README files; update logging in API to use print for most wanted IPs; enhance WebSearchTool to support region parameter for search queries.
2025-11-01 20:34:47 +01:00
hlohaus
01d194ff4b
Enhance MCP server and tools: add CORS support, initialize tool_calls, and update WebSearchTool to use CachedSearch
2025-11-01 11:55:42 +01:00
copilot-swe-agent[bot]
a15618a80e
Add HTTP transport mode for MCP server with --http flag
...
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
2025-11-01 05:25:49 +00:00
copilot-swe-agent[bot]
0a72ce961c
Address code review feedback: improve type hints, validation, and documentation
...
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
2025-11-01 05:17:04 +00:00
copilot-swe-agent[bot]
1e895fbb6a
Add comprehensive MCP documentation and examples
...
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
2025-11-01 05:13:47 +00:00
copilot-swe-agent[bot]
0c2a2b00c3
Add MCP server tests, documentation, and README updates
...
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
2025-11-01 05:10:49 +00:00
copilot-swe-agent[bot]
e1214e4372
Add MCP server implementation with web search, scraping, and image generation tools
...
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
2025-11-01 05:06:46 +00:00
copilot-swe-agent[bot]
58d95cb491
Initial plan
2025-11-01 04:54:13 +00:00
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