liuweiqing

Results 27 issues of liuweiqing

![image](https://user-images.githubusercontent.com/121866954/231947292-711064ad-4ed3-460c-90b3-d1bf53dbc5d7.png) ![image](https://user-images.githubusercontent.com/121866954/231947549-408167e9-91e9-40d7-ac84-23679986a2e5.png)

![image](https://user-images.githubusercontent.com/121866954/232178118-983952f4-fa38-4596-8ad8-f0ffbe3b5fe2.png)

原因未知

nginx配置: user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 1024; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream;...

代码: 1.定义: ``` def ask_chatgpt(prompt, model, message_id, parent_message_id, conversation_id=None, stream=True): data = { "prompt": prompt, "model": model, "message_id": message_id, "parent_message_id": parent_message_id, "conversation_id": conversation_id, "stream": stream } response = requests.post(f"{base_url}/api/conversation/talk", json=data)...

api documentations:https://github.com/pengzhile/pandora/blob/master/doc/HTTP-API.md