mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
add abuse labels
This commit is contained in:
@@ -51,6 +51,8 @@ App::post('/v1/console/assistant')
|
||||
->label('sdk.description', '/docs/references/assistant/chat.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_OK)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_TEXT)
|
||||
->label('abuse-limit', 15)
|
||||
->label('abuse-key', 'userId:{userId}')
|
||||
->param('query', '', new Text(2000), 'Query')
|
||||
->inject('response')
|
||||
->inject('user')
|
||||
|
||||
Reference in New Issue
Block a user