mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
Add a /v1/internal/chat-prompt endpoint (#5879)
This commit is contained in:
parent
b30bce3b2f
commit
f27e1ba302
5 changed files with 35 additions and 11 deletions
|
|
@ -9,7 +9,8 @@ from modules.utils import get_available_loras, get_available_models
|
|||
def get_current_model_info():
|
||||
return {
|
||||
'model_name': shared.model_name,
|
||||
'lora_names': shared.lora_names
|
||||
'lora_names': shared.lora_names,
|
||||
'loader': shared.args.loader
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue