update config

This commit is contained in:
Cyberes 2023-08-23 15:23:06 -06:00
parent ba063f7f1b
commit 806073ee4c
2 changed files with 1 additions and 25 deletions

View File

@ -7,7 +7,7 @@ auth_required: false
concurrent_gens: 3 concurrent_gens: 3
token_limit: 7777 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 # Path that is shown to users for them to connect to
frontend_api_client: /api frontend_api_client: /api

View File

@ -33,27 +33,3 @@ def get_model():
'result': model, 'result': model,
'timestamp': int(time.time()) 'timestamp': int(time.time())
}), 200 }), 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
# }]
# }