mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-09 04:49:26 +00:00
refactor: Modify default webserver port to 5670 (#1410)
This commit is contained in:
@@ -140,9 +140,9 @@ def initialize_app(param: WebServerParameters = None, args: List[str] = None):
|
||||
|
||||
model_name = param.model_name or CFG.LLM_MODEL
|
||||
param.model_name = model_name
|
||||
param.port = param.port or CFG.WEB_SERVER_PORT
|
||||
param.port = param.port or CFG.DBGPT_WEBSERVER_PORT
|
||||
if not param.port:
|
||||
param.port = 5000
|
||||
param.port = 5670
|
||||
|
||||
print(param)
|
||||
|
||||
|
@@ -6,7 +6,7 @@ import click
|
||||
|
||||
from dbgpt.configs.model_config import DATASETS_DIR
|
||||
|
||||
_DEFAULT_API_ADDRESS: str = "http://127.0.0.1:5000"
|
||||
_DEFAULT_API_ADDRESS: str = "http://127.0.0.1:5670"
|
||||
API_ADDRESS: str = _DEFAULT_API_ADDRESS
|
||||
|
||||
logger = logging.getLogger("dbgpt_cli")
|
||||
|
Reference in New Issue
Block a user