mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-23 10:20:01 +00:00
10 lines
271 B
Python
10 lines
271 B
Python
from dbgpt.component import SystemApp
|
|
|
|
|
|
def register_serve_apps(system_app: SystemApp):
|
|
"""Register serve apps"""
|
|
from dbgpt.serve.prompt.serve import Serve as PromptServe
|
|
|
|
# Replace old prompt serve
|
|
system_app.register(PromptServe, api_prefix="/prompt")
|