mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-01 20:14:03 +08:00
update server_config example
This commit is contained in:
parent
8b3b869418
commit
f8229fc4a9
@ -86,3 +86,15 @@ def fschat_openai_api_address() -> str:
|
||||
host = FSCHAT_OPENAI_API["host"]
|
||||
port = FSCHAT_OPENAI_API["port"]
|
||||
return f"http://{host}:{port}"
|
||||
|
||||
|
||||
def api_address() -> str:
|
||||
host = API_SERVER["host"]
|
||||
port = API_SERVER["port"]
|
||||
return f"http://{host}:{port}"
|
||||
|
||||
|
||||
def webui_address() -> str:
|
||||
host = WEBUI_SERVER["host"]
|
||||
port = WEBUI_SERVER["port"]
|
||||
return f"http://{host}:{port}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user