liou666 / polyglot

🤖️ Cross-platform AI language practice app (跨平台AI语言练习应用)
https://doc.polyglotai.xyz
GNU General Public License v3.0
2.56k stars 272 forks source link

[Help] the title of help wanted report - limited 4097 tokens of context length #46

Closed TrampCGuo closed 1 year ago

TrampCGuo commented 1 year ago

Describe the problem you confuse

This model's maximum context length is 4097 tokens. However, you requested 4160 tokens (70 in the messages, 4090 in the completion). Please reduce the length of the messages or completion.

liou666 commented 1 year ago

@TrampCGuo
This is a limit of GPT-3.5-turbo, GPT-3.5-turbo supports a maximum context length of 4097 tokens, which you can avoid by reducing the number of contexts in the settings page.

liou666 commented 1 year ago

closed