Timothy Jaeryang Baek
ee61970fb0
refac
2025-11-01 05:58:54 -04:00
Timothy Jaeryang Baek
88aca2e4d8
chore: format
2025-09-28 23:42:38 -05:00
silentoplayz
fe28097817
feat: refactor model import to a single backend endpoint
...
This refactors the model import functionality to improve performance and user experience by centralizing the logic on the backend.
Previously, the frontend would parse an imported JSON file and send an individual API request for each model, which was slow and inefficient.
This change introduces a new backend endpoint, `/api/v1/models/import`, that accepts a list of model objects. The frontend now reads the selected JSON file, parses it, and sends the entire payload to the backend in a single request. The backend then processes this list, creating or updating models as necessary.
This commit also includes the following fixes:
- Handles cases where the imported JSON contains models without `meta` or `params` fields by providing default empty values.
2025-09-28 18:49:42 -04:00
silentoplayz
231d182c35
feat: move JSON model import to backend
...
This moves the JSON model import functionality to the backend. Instead of the frontend parsing the JSON file and sending multiple requests, it now uploads the file to a new endpoint (/api/v1/models/import), which processes the file and imports the models. This improves efficiency and provides better user feedback.
2025-09-28 18:09:58 -04:00
Timothy Jaeryang Baek
596be451ec
refac: styling
2025-09-15 14:28:16 -05:00
Timothy Jaeryang Baek
bbfe456f90
fix: models not loading
...
Co-Authored-By: _00_ <131402327+rgaricano@users.noreply.github.com>
2025-08-21 12:33:26 +04:00
guenhter
196af9eaf7
chore: streamline the URL used for resources like favicon.png
2025-07-09 09:14:51 +02:00
Timothy Jaeryang Baek
57f9eadd75
feat: models?id= support for admin settings
2025-07-07 17:16:51 +04:00
Timothy Jaeryang Baek
90257442e3
refac: styling
2025-06-27 16:15:16 +04:00
Timothy Jaeryang Baek
a018140c7d
refac: admin settings models
2025-06-10 16:41:39 +04:00
Timothy Jaeryang Baek
9a5febc2d1
feat: copy model link
2025-05-26 22:29:03 +04:00
Silentoplayz
03eeb75bfe
feat: Add Clear button for Function and admin Model pages
2025-05-20 12:21:32 -04:00
Silentoplayz
5cb1475e29
fix: apply change to functions and models pages
2025-05-18 20:12:53 -04:00
Jesper Kristensen
84e0605835
Cleaning up usage of console log in front end
2025-05-15 21:53:07 +02:00
Timothy Jaeryang Baek
f6c8184a74
fix: model hide issue
2025-04-12 18:49:49 -07:00
Timothy Jaeryang Baek
def5444ea3
feat: hide base model
2025-03-31 16:51:42 -07:00
Timothy Jaeryang Baek
e3fa48b6ce
chore: tailwind v4 migration
2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
2e77d5ef0e
refac
2025-02-12 01:32:49 -08:00
Timothy Jaeryang Baek
0bec9122c1
refac
2025-02-12 01:22:53 -08:00
Timothy Jaeryang Baek
431e97b03a
wip: direct models
2025-02-12 01:17:30 -08:00
Timothy Jaeryang Baek
af48f346f1
enh: reintroduce model management to models settings
2025-01-20 22:39:00 -08:00
Timothy Jaeryang Baek
59c349de00
refac: styling
2025-01-19 12:46:02 -08:00
Timothy Jaeryang Baek
71bbdf25c6
refac
2025-01-05 01:18:30 -08:00
Timothy Jaeryang Baek
9ddb16345f
refac
2024-12-09 23:02:11 -08:00
Timothy Jaeryang Baek
7f77828e3f
refac: styling
2024-12-01 21:50:21 -08:00
Timothy Jaeryang Baek
9b8f9c689b
refac
2024-11-26 01:22:09 -08:00
Timothy Jaeryang Baek
e40212a662
refac
2024-11-26 01:14:32 -08:00
Timothy Jaeryang Baek
5fac25a002
enh: reintroduce model order/default models
2024-11-26 00:55:58 -08:00
Timothy Jaeryang Baek
29fac5ecca
refac: admin models settings
2024-11-25 22:57:54 -08:00
Timothy Jaeryang Baek
4b83a83576
fix: openai connection config
2024-11-21 20:49:40 -08:00
Timothy Jaeryang Baek
321aa2a027
refac: styling
2024-11-19 14:26:53 -08:00
Timothy Jaeryang Baek
81bb2750e0
enh: reset models
2024-11-19 11:03:36 -08:00
Timothy Jaeryang Baek
1ab47a1ff9
refac
2024-11-18 07:06:22 -08:00
Timothy Jaeryang Baek
43f58098f8
refac
2024-11-18 07:05:11 -08:00
Timothy Jaeryang Baek
9525d4279c
refac: admin model setting include ollama info
2024-11-18 07:04:21 -08:00
Timothy Jaeryang Baek
03b606925e
refac
2024-11-18 05:24:18 -08:00
Timothy Jaeryang Baek
7858be7fda
refac: admin models setting toast
2024-11-17 15:50:18 -08:00
Timothy Jaeryang Baek
932de8f1e2
refac
2024-11-16 04:41:07 -08:00
Timothy Jaeryang Baek
4eb8b1450c
refac
2024-11-15 22:09:06 -08:00
Timothy Jaeryang Baek
d5f84d6234
refac: model preset handling behaviour
2024-11-15 22:04:33 -08:00
Timothy Jaeryang Baek
19c98b74fa
refac: base models endpoint
2024-11-15 19:14:24 -08:00
Timothy Jaeryang Baek
7e78889e33
refac: styling
2024-11-15 18:56:13 -08:00
Timothy Jaeryang Baek
7f8c70b04a
wip: admin models setting
2024-11-15 18:53:50 -08:00
Timothy Jaeryang Baek
d9dc04f1a1
refac: frontend
2024-11-15 02:05:43 -08:00
Timothy Jaeryang Baek
607a8b2109
refac: ollama connections
2024-11-11 22:25:08 -08:00
Timothy J. Baek
99f70cac8b
fix: model w/ custom name delete issue
2024-10-19 00:50:00 -07:00
Zhuoran
fd26e5635d
Fix type errors.
2024-08-20 08:44:09 +08:00
Timothy J. Baek
a23146ebd1
refac: styling
2024-07-08 20:10:00 -07:00
Timothy J. Baek
740b6f5c17
fix: pull model
2024-07-04 00:42:18 -07:00
Timothy J. Baek
a0dbc970a9
enh: model delete confirmation
2024-06-15 04:07:40 -06:00