Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当用单片机去接人api时,回复内容长的话会显示null #3

Open
qibaoyutanqi opened this issue Mar 22, 2023 · 3 comments
Open

Comments

@qibaoyutanqi
Copy link

用esp32联网去接人chatgpt api,问题简单是可以回复,当问题复杂时,回复过长会导致null,有什么解决办法吗

@ZoomQuiet
Copy link

感觉应该在接口这儿进行处理, 等待回答都有了再返回?

@qibaoyutanqi
Copy link
Author

int httpResponseCode = http.POST(requestBody);会报错返回值是-11

@suliri
Copy link

suliri commented Nov 21, 2023

感觉应该在接口这儿进行处理, 等待回答都有了再返回?

那样太慢了吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants