mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-13 04:38:25 +00:00
fix(ChatExcel): ChatExcel OutParse Bug Fix
1.ChatExcel OutParse Bug Fix
This commit is contained in:
26
pilot/base_modules/agent/controller.py
Normal file
26
pilot/base_modules/agent/controller.py
Normal file
@@ -0,0 +1,26 @@
|
||||
import json
|
||||
import time
|
||||
from fastapi import (
|
||||
APIRouter,
|
||||
Body,
|
||||
)
|
||||
|
||||
from typing import List
|
||||
from pilot.configs.model_config import LOGDIR
|
||||
from pilot.utils import build_logger
|
||||
|
||||
from pilot.openapi.api_view_model import (
|
||||
Result,
|
||||
)
|
||||
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
logger = build_logger("agent_mange", LOGDIR + "agent_mange.log")
|
||||
|
||||
|
||||
@router.get("/v1/mange/agent/list", response_model=Result[str])
|
||||
async def get_agent_list():
|
||||
logger.info(f"get_agent_list!")
|
||||
|
||||
return Result.succ(None)
|
Reference in New Issue
Block a user