mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
- Introduced `clean_name` function in `Cloudflare.py` to format model names by removing specific suffixes. - Updated `model_aliases` in `Cloudflare` class with new model mappings, and cleaned up redundant entries. - Set `models` in the `Cloudflare` class to use keys from `model_aliases`. - Adjusted the caching logic in `Cloudflare` to include new headers for requests. - Added `parent` and `login_url` attributes in `DeepInfraChat` class. - Updated `PollinationsAI` to clean up model retrieval logic and fixed handling of existing checks. - Refactored `HarProvider` to inherit models and aliases from `LegacyLMArena`. - Implemented loading environment variables from `.env` file in `cookies.py`. - Updated default headers in `defaults.py` for user agent and `sec-ch-ua`. - Cleaned up various model references in `any_model_map.py` to reflect differences in audio, vision, and other model types. - Added a more centralized handling for API key management in `run_tools.py` to accommodate new nomenclature. - Enhanced existing logic to allow for more granular loading and utilization of API keys from environment variables.
20 lines
No EOL
233 B
Text
20 lines
No EOL
233 B
Text
requests
|
|
pycryptodome
|
|
curl_cffi>=0.6.2
|
|
aiohttp
|
|
certifi
|
|
duckduckgo-search>=6.3.7
|
|
nest_asyncio
|
|
werkzeug
|
|
pillow
|
|
fastapi
|
|
uvicorn
|
|
flask
|
|
brotli
|
|
beautifulsoup4
|
|
aiohttp_socks
|
|
cryptography
|
|
python-multipart
|
|
markitdown[all]
|
|
a2wsgi
|
|
python-dotenv |