adjust message
This commit is contained in:
parent
61856b4383
commit
9235725bdd
|
@ -14,5 +14,5 @@ def fallback(path):
|
||||||
response_msg = format_sillytavern_err(error_msg, error_type='API')
|
response_msg = format_sillytavern_err(error_msg, error_type='API')
|
||||||
return jsonify({
|
return jsonify({
|
||||||
'results': [{'text': response_msg}],
|
'results': [{'text': response_msg}],
|
||||||
'result': f'Wrong API path, visit {base_client_api}'
|
'result': f'Wrong API path, visit {base_client_api} for more info'
|
||||||
}), 200 # return 200 so we don't trigger an error message in the client's ST
|
}), 200 # return 200 so we don't trigger an error message in the client's ST
|
||||||
|
|
Reference in New Issue