bugfix
This commit is contained in:
parent
83f7f6e65c
commit
977c214039
@ -1,3 +1,7 @@
|
|||||||
|
from aiohttp.web import (
|
||||||
|
json_response
|
||||||
|
)
|
||||||
|
|
||||||
def Error(errno='undefined error',msg='Error'):
|
def Error(errno='undefined error',msg='Error'):
|
||||||
return {
|
return {
|
||||||
"status":"Error",
|
"status":"Error",
|
||||||
@ -81,4 +85,5 @@ def openai_400():
|
|||||||
"code": "invalidparameters"
|
"code": "invalidparameters"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return json_response(d, status=400)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user