mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
feat:llm manage
This commit is contained in:
parent
eca313a608
commit
823c38c81b
@ -13,15 +13,6 @@ CFG = Config()
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
# @router.post("/controller/list")
|
||||
# async def controller_list(request: ModelInstance):
|
||||
# print(f"/controller/list params:")
|
||||
# try:
|
||||
# CFG.LLM_MODEL = request.model_name
|
||||
# return Result.succ("success")
|
||||
#
|
||||
# except Exception as e:
|
||||
# return Result.faild(code="E000X", msg=f"space list error {e}")
|
||||
@router.get("/v1/worker/model/params")
|
||||
async def model_params():
|
||||
print(f"/worker/model/params")
|
||||
|
Loading…
Reference in New Issue
Block a user