update config
This commit is contained in:
parent
ba063f7f1b
commit
806073ee4c
|
@ -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
|
||||||
|
|
|
@ -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
|
|
||||||
# }]
|
|
||||||
# }
|
|
||||||
|
|
Reference in New Issue