mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-22 17:39:02 +00:00
17 lines
395 B
Python
17 lines
395 B
Python
from dbgpt._private.pydantic import ConfigDict
|
|
|
|
# Define your Pydantic schemas here
|
|
from dbgpt.core.awel.flow.flow_factory import FlowPanel
|
|
|
|
from ..config import SERVE_APP_NAME_HUMP
|
|
|
|
ServeRequest = FlowPanel
|
|
|
|
|
|
class ServerResponse(FlowPanel):
|
|
"""Flow response model"""
|
|
|
|
# TODO define your own fields here
|
|
|
|
model_config = ConfigDict(title=f"ServerResponse for {SERVE_APP_NAME_HUMP}")
|