diff --git a/config/config.yml b/config/config.yml index 3f2d42e..9296899 100644 --- a/config/config.yml +++ b/config/config.yml @@ -7,7 +7,7 @@ auth_required: false concurrent_gens: 3 token_limit: 7777 -backend_url: http://172.0.0.2:9104 +backend_url: https://10.0.0.82:8083 # Path that is shown to users for them to connect to frontend_api_client: /api diff --git a/llm_server/routes/v1/info.py b/llm_server/routes/v1/info.py index 4804ce3..3ffea16 100644 --- a/llm_server/routes/v1/info.py +++ b/llm_server/routes/v1/info.py @@ -33,27 +33,3 @@ def get_model(): 'result': model, 'timestamp': int(time.time()) }), 200 - -# @openai_bp.route('/models', methods=['GET']) -# # @cache.cached(timeout=3600, query_string=True) -# def get_openai_models(): -# model = get_running_model() -# return { -# "object": "list", -# "data": [{ -# "id": model, -# "object": "model", -# "created": stats.start_time, -# "owned_by": "openai", -# "permission": [{ -# "id": f"modelperm-{model}", -# "object": "model_permission", -# "created": stats.start_time, -# "organization": "*", -# "group": None, -# "is_blocking": False -# }], -# "root": model, -# "parent": None -# }] -# }