jeff_fix_maxtoken
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -38,7 +38,7 @@ app.post('/api', async (req, res) => { | ... | @@ -38,7 +38,7 @@ app.post('/api', async (req, res) => { |
| 38 | 38 | ||
| 39 | str_length = req.body.message.split(' ').length; | 39 | str_length = req.body.message.split(' ').length; |
| 40 | 40 | ||
| 41 | if (str_length>=1000){ | 41 | if (str_length>=800){ |
| 42 | arr_body = req.body.message.split("\n"); | 42 | arr_body = req.body.message.split("\n"); |
| 43 | if (arr_body.length>=4){ | 43 | if (arr_body.length>=4){ |
| 44 | var i = arr_body.length-2 | 44 | var i = arr_body.length-2 | ... | ... |
-
Please register or sign in to post a comment