This commit is contained in:
parent
159f884a21
commit
e79a9b3aac
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ def lastquery_txt():
|
|||
@app.route('/docs/config')
|
||||
def config_docs():
|
||||
return redir("https://git.swee.codes/swee/MeowNex/src/branch/main/docs/config.md")
|
||||
@app.route('/response/<uuid>')
|
||||
@app.route('/response/<uuidd>')
|
||||
def ai_response_truncate(uuidd):
|
||||
if uuidd in responses_ai:
|
||||
res = responses_ai[uuidd]
|
||||
|
@ -561,8 +561,8 @@ while True:
|
|||
if num == 5:
|
||||
broke = True
|
||||
break
|
||||
elif len(i) > 75:
|
||||
mtline += "\n" + i[:75] + "..."
|
||||
elif len(i) > 256:
|
||||
mtline += "\n" + i[:256] + "..."
|
||||
broke = True
|
||||
else:
|
||||
mtline += "\n" + i
|
||||
|
|
Loading…
Reference in a new issue