Commit graph

615 commits

Author SHA1 Message Date
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]
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
hlohaus
230a725748 Check out the Windows launcher for GPT4Free 2025-10-08 14:09:04 +02:00
H Lohaus
8cea9b823a
Update README.md 2025-09-24 08:15:23 +02:00
hlohaus
f8c10a41ad Update README.md 2025-09-10 13:25:36 +02:00
hlohaus
c045a64697 Update README.md 2025-09-05 10:57:53 +02:00
H Lohaus
3a90353853
Update README.md 2025-09-05 08:12:35 +02:00
H Lohaus
d8709aaf31
Update README.md 2025-09-05 08:04:41 +02:00
H Lohaus
aebc28d515
Update README.md 2025-09-05 07:59:25 +02:00
H Lohaus
4d172f7e72
Update README.md 2025-09-05 07:52:40 +02:00
H Lohaus
1a293b545e
Update README.md 2025-09-05 07:48:24 +02:00
H Lohaus
258c6ccd65
Update README.md 2025-08-12 22:03:34 +02:00
H Lohaus
59bcd46e68
Update README.md 2025-08-12 22:00:05 +02:00
H Lohaus
a7ae5a524d
Update README.md 2025-08-12 16:31:00 +02:00
H Lohaus
b008fe63ce
Update README.md 2025-08-12 16:30:39 +02:00
hlohaus
d4b46f34de fix: correct typo in API section title and update links, and adjust provider aliases
- Changed "Inference API" to "Interference API" and updated corresponding documentation links in README.md
- Removed "o1" and "dall-e-3" entries from Copilot.py model_aliases
- Added "stream" and "extra_body" parameters with default values in Azure.py's create_async_generator method
- In CopilotAccount.py, included model_aliases with "gpt-4", "gpt-4o", "o1", and "dall-e-3"
- Updated conditional for provider comparison from "==" to "in" list in any_provider.py
- Modified g4f/api/__init__.py to set g4f_api_key from environment variable
- In backend_api.py, added "user" field to cached data with default "unknown"
- Changed logic in OpenaiTemplate.py read_response to check if "choice" exists before processing, and cleaned up indentation and conditionals in response parsing
- Removed unnecessary "stop" and "prompt" parameters from comments or unused code in OpenaiTemplate.py
- Tightened the check for "provider" comparison in any_provider.py to handle multiple providers properly
2025-08-01 00:18:29 +02:00
Tekky
74080a817f
. 2025-07-18 14:25:59 +02:00
hlohaus
d3f978e095 Add asia 2025-07-18 03:23:03 +02:00
hlohaus
3161f70c29 Add flags 2025-07-18 02:58:06 +02:00
H Lohaus
76f8cd7f1e
Update README.md 2025-07-15 11:46:27 +02:00
H Lohaus
58b2b25ecd
Update README.md 2025-07-15 11:45:15 +02:00
H Lohaus
0c4d9c6b1d
Update README.md 2025-07-15 11:33:25 +02:00
H Lohaus
20687cfa18
Update README.md 2025-07-15 11:29:41 +02:00
H Lohaus
d4f39fa804
Update README.md 2025-07-15 11:29:24 +02:00
hlohaus
ebff7d51ab Update README.md 2025-07-12 12:39:42 +02:00
hlohaus
200d830bca Fix typo interference 2025-07-12 12:25:04 +02:00
hlohaus
350a07693a Fix typo inference 2025-06-27 16:49:36 +02:00
H Lohaus
f6a5648dcf
Update README.md 2025-06-14 02:02:34 +02:00
hlohaus
387e495c28 Update README.md 2025-06-14 01:35:03 +02:00
H Lohaus
e7e5c72721
Update README.md 2025-06-14 01:09:18 +02:00
hlohaus
a570ace2bc Update static url 2025-06-13 14:36:28 +02:00
hlohaus
1525fcd3e0 Add live update 2025-06-13 08:11:02 +02:00
H Lohaus
ff0618e25f
Merge pull request #3002 from hlohaus/kq
feat: integrate Pollinations AI enhancements and simplify gpt4free re…
2025-05-18 05:22:11 +02:00
hlohaus
4aa0bc0745 Update README.md 2025-05-18 05:19:22 +02:00
hlohaus
57cbd55d74 feat: integrate Pollinations AI enhancements and simplify gpt4free references
- Replaced the large GitHub project stats table in `README.md` with summaries and logos for Pollinations AI and MoneyPrinter V2
- Introduced `STATIC_URL` and `DIST_DIR` constants in new `g4f/constants.py` and used them across multiple files
- Updated `PollinationsAI.py` to support conversation title and follow-up generation using tool calls
- Modified `PollinationsAI.py` and `PollinationsImage.py` to use `STATIC_URL` for the `referrer` header
- Enhanced `PollinationsAI.stream_complete` to yield `ToolCalls`, `TitleGeneration`, and `SuggestedFollowups`
- Added `ToolCalls` handling in `client/__init__.py` to support non-stream and stream modes
- Updated `ChatCompletionDelta` model in `client/stubs.py` to support `ToolCalls`
- Modified `HarProvider` to merge `DEFAULT_HEADERS` into request headers
- Improved `OpenaiChat.py` by adding optional chaining to page evaluation expressions for robustness
- Updated `any_provider.py` to force use of `PollinationsAI` if `tools` key is present in kwargs
- Refactored `is_content` into a reusable function in `providers/response.py` and used in `retry_provider.py`
- Updated `gui/server/website.py` to use `STATIC_URL` and simplify `GPT4FREE_URL` handling
- Removed redundant constants from `version.py` and imported them from `constants.py
2025-05-18 01:54:09 +02:00
H Lohaus
654e046092
Update README.md 2025-05-16 14:06:01 +02:00
hlohaus
9e8bc2b77f fix: update error handling, URL, and media name logic across providers
- Changed documentation URL in README.md for detailed guidance link
- In g4f/Provider/Cloudflare.py, broadened exception handling in async argument fetching to catch all exceptions in one place and only specific exceptions in another
- In g4f/Provider/PollinationsAI.py, removed raising of exception for unknown model not in image_models and replaced it with pass
- In g4f/Provider/needs_auth/OpenaiChat.py, modified session post call to always use cls._headers
- Changed if-chain in OpenaiChat.py to use elif for checking element prefix "sediment://"
- Added logic to extract and yield generated images for unique "file-service://" matches in streamed responses within OpenaiChat.py
- Commented out multimodal_text image asset pointer handling in OpenaiChat.py
- In g4f/client/__init__.py resolve_media(), set media name to basename of file path using os.path.basename
2025-05-05 22:52:48 +02:00
hlohaus
ae3543904f Update README.md 2025-04-30 17:44:27 +02:00
hlohaus
528ccd3a74 Update documenation links 2025-04-26 23:53:03 +02:00
H Lohaus
7bcf321077
Update README.md 2025-04-25 21:19:05 +02:00
H Lohaus
7464a644e1
Update README.md 2025-04-25 17:07:38 +02:00
H Lohaus
af96e350c8
Update README.md 2025-04-25 11:02:50 +02:00
H Lohaus
511be348cd
Merge pull request #2955 from hlohaus/18Apr
Move documentation
2025-04-25 07:21:22 +02:00
hlohaus
80c835552d Move documentation 2025-04-25 07:13:25 +02:00
H Lohaus
f93519a5f2
Update README.md 2025-04-20 14:44:37 +02:00
H Lohaus
0f18c52c14
Update README.md 2025-04-16 16:54:30 +02:00
H Lohaus
7653b09eee
Update README.md 2025-04-16 16:53:07 +02:00
H Lohaus
39295b3c43
Update README.md 2025-04-16 16:47:35 +02:00
Oleg Voronkovich
0562866cf5 Fix Slim Docker instructions 2025-04-03 02:18:41 +03:00
hlohaus
d38755b42a Code review changes 2025-03-30 17:57:42 +02:00