Commit graph

3430 commits

Author SHA1 Message Date
hlohaus
f5bd41c598 fix: Update reasoning statuses in ThinkingProcessor tests
- Modified `TestThinkingProcessor` unit tests in `thinking.py` to update expected results for reasoning statuses:
  - Changed `"Finished"` status to `""` in `test_thinking_end`, `test_thinking_start_and_end`, and `test_chunk_with_text_after_think`.

feat: Add model aliases to HuggingFaceMedia provider

- Imported `model_aliases` from `.models` in `HuggingFaceMedia.py`.
- Added `model_aliases` attribute to `HuggingFaceMedia` provider class.

feat: Add timeout argument to CLI API parser

- Introduced `--timeout` argument in `get_api_parser()` in `cli.py` with default value of `600` seconds.
- Passed `timeout` argument to `run_api_args()` function.
```
2025-06-19 00:48:57 +02:00
hlohaus
d824d77d65 feat: Refactor PollinationsAI and ARTA provider structure
- Updated `PollinationsAI.py` to strip trailing periods and newlines from the prompt before encoding.
- Modified the encoding of the prompt to remove trailing percent signs after URL encoding.
- Simplified the audio response handling in `PollinationsAI.py` by removing unnecessary checks and yielding chunks directly.
- Renamed `ARTA.py` to `deprecated/ARTA.py` and updated import paths accordingly in `__init__.py`.
- Changed the `working` status of the `ARTA` class to `False` to indicate it is deprecated.
- Enhanced the `Video` class in `Video.py` to include aspect ratio handling and improved URL response caching.
- Updated the `RequestConfig` class to use a dictionary for storing URLs associated with prompts.
- Removed references to the `ARTA` provider in various files, including `models.py` and `any_provider.py`.
- Adjusted the `best_provider` assignments in `models.py` to exclude `ARTA` and include `HuggingFaceMedia` where applicable.
- Updated the response handling in `Video.py` to yield cached responses when available.
2025-06-19 00:42:41 +02:00
hlohaus
faf94ccfbb Update copy_image 2025-06-18 00:17:27 +02:00
hlohaus
a354a2e8f8 Update copy_image 2025-06-18 00:06:49 +02:00
hlohaus
0d8234bc77 Update Video API 2025-06-17 20:36:44 +02:00
hlohaus
41bb5d7512 Fix video api 2025-06-17 18:53:52 +02:00
hlohaus
849789ee22 Fix video api 2025-06-17 18:50:30 +02:00
hlohaus
e8d7fccfb4 Fix video api 2025-06-17 18:20:45 +02:00
hlohaus
db1a9adb34 Update video link 2025-06-17 17:57:20 +02:00
H Lohaus
eb27708f73
Update any_provider.py 2025-06-17 16:59:20 +02:00
H Lohaus
0c7842a351
Update Video.py 2025-06-17 16:53:19 +02:00
hlohaus
4631083693 Add video provider 2025-06-17 16:42:32 +02:00
hlohaus
b7d1a03dfc Add video provider 2025-06-17 16:30:00 +02:00
hlohaus
4bd1b8652c Fix copy images 2025-06-17 08:30:08 +02:00
hlohaus
c508b79765 Remove unused files 2025-06-16 21:43:02 +02:00
hlohaus
0cb3057c6e Fix show thumbnail 2025-06-16 08:29:07 +02:00
hlohaus
4cb62416b7 Fix thumbnail 2025-06-16 08:08:56 +02:00
hlohaus
992023766a Update process_image 2025-06-15 18:30:32 +02:00
hlohaus
b400052a25 Use ImageOps 2025-06-15 17:42:00 +02:00
hlohaus
be8366bb8a Update render_messages 2025-06-15 17:32:27 +02:00
hlohaus
6aff2d3b77 Update render_messages 2025-06-15 16:49:16 +02:00
hlohaus
f8b3ceee36 Fix broken thumbnails 2025-06-15 16:36:57 +02:00
hlohaus
424d44e6ed Fix broken thumbnails 2025-06-15 15:55:54 +02:00
hlohaus
6dbe827a8f Add quality=75, exif=None to save thumbnail 2025-06-15 15:16:45 +02:00
hlohaus
0b86b09a50 Fix image orintation 2025-06-15 14:23:57 +02:00
hlohaus
3024cc5c9e Support uploaded images 2025-06-15 14:17:28 +02:00
hlohaus
04f8ecd21d Enhance flux model prompts 2025-06-15 13:52:19 +02:00
hlohaus
6ae75f56dc Use ROTATE_90 2025-06-15 13:46:20 +02:00
hlohaus
cc5d0e9c85 Update process generate thumbnails 2025-06-15 12:53:12 +02:00
hlohaus
c6bfddecae Update process generate thumbnails 2025-06-15 12:48:24 +02:00
hlohaus
dbef5facb6 Update providers 2025-06-15 11:03:49 +02:00
hlohaus
36f5fc70b1 Add model_aliases to HarProvider 2025-06-15 08:39:49 +02:00
hlohaus
1f5bfe5053 Disable retries in LegacyLMArena 2025-06-15 08:33:21 +02:00
hlohaus
78b75658cb Improve model support in PuterJS 2025-06-15 08:16:03 +02:00
hlohaus
624b2cb5ad Update leagcy LMArena 2025-06-15 08:04:45 +02:00
hlohaus
dbd6c8f245 Disable update packages 2025-06-15 07:42:24 +02:00
hlohaus
2c3fa23ff0 Update providers 2025-06-15 07:39:37 +02:00
hlohaus
20a47d85d9 Fix image orientation 2025-06-15 04:03:47 +02:00
hlohaus
70a0c9aec7 Add support thumbnail for generated images 2025-06-15 03:21:30 +02:00
hlohaus
b706256eda Remove rotate image 2025-06-15 02:47:41 +02:00
hlohaus
3066a6031d Fix image links 2025-06-15 02:26:00 +02:00
hlohaus
cd1f34c17d Fix read api_key 2025-06-15 02:17:34 +02:00
hlohaus
dfe717168d Fix beta lmarena provider 2025-06-15 01:45:01 +02:00
hlohaus
27507318e6 Update check valid images 2025-06-15 01:25:42 +02:00
hlohaus
59d01bcacd Support thumbnails in provider 2025-06-15 01:06:41 +02:00
hlohaus
ec631789e3 Support thumbnails 2025-06-15 00:56:53 +02:00
hlohaus
aea736d41e Add thumbnail support 2025-06-15 00:42:48 +02:00
hlohaus
74b3137107 Fix load share conversation 2025-06-15 00:06:16 +02:00
hlohaus
28810e4773 Add support image links in UI 2025-06-14 21:38:47 +02:00
hlohaus
e18297f358 Update PuterJS 2025-06-14 20:42:29 +02:00