oobabooga
521ddbb722
Security: restrict API model loading args to UI-exposed parameters
...
The /v1/internal/model/load endpoint previously allowed setting any
shared.args attribute, including security-sensitive flags like
trust_remote_code. Now only keys from list_model_elements() are accepted.
2026-03-06 01:57:02 -03:00
oobabooga
84617abdeb
Properly fix the /v1/models endpoint
2025-06-19 10:25:55 -07:00
oobabooga
dcdc42fa06
Fix the /v1/models output format ( closes #7089 )
2025-06-19 07:57:17 -07:00
oobabooga
6af3598cfa
API: Remove obsolete list_dummy_models function
2025-06-18 16:15:42 -07:00
oobabooga
f27e1ba302
Add a /v1/internal/chat-prompt endpoint ( #5879 )
2024-04-19 00:24:46 -03:00
oobabooga
2a335b8aa7
Cleanup: set shared.model_name only once
2023-12-08 06:35:23 -08:00
oobabooga
771e62e476
Add /v1/internal/lora endpoints ( #4652 )
2023-11-19 00:35:22 -03:00
oobabooga
a85ce5f055
Add more info messages for truncation / instruction template
2023-11-15 16:20:31 -08:00
oobabooga
c5be3f7acb
Make /v1/embeddings functional, add request/response types
2023-11-10 07:34:27 -08:00
GuizzyQC
6a7cd01ebf
Fix bug with /internal/model/load ( #4549 )
...
Update shared.model_name after loading model through API call
2023-11-10 00:16:38 -03:00
oobabooga
678fd73aef
Document /v1/internal/model/load and fix a bug
2023-11-08 17:41:12 -08:00
oobabooga
881e8a6e70
Small bug fix in /v1/internal/model/load
2023-11-08 02:34:13 -03:00
oobabooga
2358706453
Add /v1/internal/model/load endpoint (tentative)
2023-11-07 20:58:06 -08:00
oobabooga
43c53a7820
Refactor the /v1/models endpoint
2023-11-07 19:59:27 -08:00
oobabooga
f6ca9cfcdc
Add /v1/internal/model-info endpoint
2023-11-07 18:59:02 -08:00
oobabooga
8f97e87cac
Lint the openai extension
2023-09-15 20:11:16 -07:00
oobabooga
df123a20fc
Prevent extra keys from being saved to settings.yaml
2023-09-11 20:13:10 -07:00
oobabooga
9331ab4798
Read GGUF metadata ( #3873 )
2023-09-11 18:49:30 -03:00
oobabooga
e202190c4f
lint
2023-07-12 11:33:25 -07:00
matatonic
3e7feb699c
extensions/openai: Major openai extension updates & fixes ( #3049 )
...
* many openai updates
* total reorg & cleanup.
* fixups
* missing import os for images
* +moderations, custom_stopping_strings, more fixes
* fix bugs in completion streaming
* moderation fix (flagged)
* updated moderation categories
---------
Co-authored-by: Matthew Ashton <mashton-gitlab@zhero.org>
2023-07-11 18:50:08 -03:00