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

上传文件function ,图片url gpt可以识别 ,pdf url gpt无法识别,之前都是好的 #142

Open
tomridder opened this issue Sep 9, 2024 · 3 comments

Comments

@tomridder
Copy link

image

下面是pdf的 curl测试用例

image
@tomridder
Copy link
Author

确定已经加了 upload by url 为 true

@tomridder
Copy link
Author

这个是 上传 图片的log,可以识别图片

2024-09-10T22:32:00.140Z DEBUG warp::warp_service::network_change: Routes changed:
warp | NewNeighbour; Destination: 172.18.0.1;
warp | 2024-09-10T22:32:01.061Z DEBUG tunnel_loop{protocol="wireguard"}: boringtun::noise::timers: KEEPALIVE(PERSISTENT_KEEPALIVE)
warp | 2024/09/10 22:32:04 socks.go:889: [socks5] 172.18.0.3:54170 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:32:04 socks.go:941: [route] 172.18.0.3:54170 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:32:04 socks.go:976: [socks5] 172.18.0.3:54170 <-> chatgpt.com:443
warp | 2024/09/10 22:32:05 socks.go:889: [socks5] 172.18.0.3:54184 -> auto://:1080 -> tomchat.shop:443
warp | 2024/09/10 22:32:05 socks.go:941: [route] 172.18.0.3:54184 -> auto://:1080 -> tomchat.shop:443
warp | 2024/09/10 22:32:05 socks.go:976: [socks5] 172.18.0.3:54184 <-> tomchat.shop:443
warp | 2024/09/10 22:32:05 socks.go:978: [socks5] 172.18.0.3:54184 >-< tomchat.shop:443
warp | 2024/09/10 22:32:05 socks.go:889: [socks5] 172.18.0.3:54194 -> auto://:1080 -> files.oaiusercontent.com:443
warp | 2024/09/10 22:32:05 socks.go:941: [route] 172.18.0.3:54194 -> auto://:1080 -> files.oaiusercontent.com:443
warp | 2024/09/10 22:32:05 socks.go:976: [socks5] 172.18.0.3:54194 <-> files.oaiusercontent.com:443
warp | 2024-09-10T22:32:06.284Z DEBUG warp::warp_service::network_change: Routes changed:
warp | NewNeighbour; Destination: 172.18.0.1;
warp | NewNeighbour; Destination: 172.18.0.1;
warp | 2024/09/10 22:32:06 socks.go:889: [socks5] 172.18.0.3:35708 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:32:06 socks.go:941: [route] 172.18.0.3:35708 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:32:06 socks.go:976: [socks5] 172.18.0.3:35708 <-> chatgpt.com:443
warp | 2024-09-10T22:32:09.356Z DEBUG warp::warp_service::network_change: Routes changed:
warp | NewNeighbour; Destination: 172.18.0.3;
warp | 2024/09/10 22:32:17 socks.go:978: [socks5] 172.18.0.3:54170 >-< chatgpt.com:443
warp | 2024/09/10 22:32:17 socks.go:978: [socks5] 172.18.0.3:54194 >-< files.oaiusercontent.com:443
warp | 2024/09/10 22:32:17 socks.go:978: [socks5] 172.18.0.3:35708 >-< chatgpt.com:443
warp | 2024-09-10T22:32:24.480Z DEBUG tunnel_loop{protocol="wireguard"}: warp-stats: Time since handshake: 30.32s, tx: 155.77MiB, rx: 342.42MiB, loss: 0.0%, latency: 6ms
warp | 2024-09-10T22:32:24.482Z DEBUG tunnel_loop{protocol="wireguard"}: warp_edge::tunnel_loop: Tunnel loop statistics stats=TunnelLoopStats { tun_packet_too_large: 0, edge_packet_too_large: 0, tun_packet_too_small: 0, edge_packet_too_small: 0, tun_packet_martian: 0, tun_packet_unhandled: 37, dropped_edge_packet: 0, dropped_tun_packet: 0, successfully_retried_tun_packet: 0 }
warp | 2024-09-10T22:32:25.361Z DEBUG tunnel_loop{protocol="wireguard"}: boringtun::noise::timers: KEEPALIVE(PERSISTENT_KEEPALIVE)
warp | 2024-09-10T22:32:26.517Z DEBUG warp-dns-stats: Queries: 28, Success: 96.4%, TimedOut: 0.0%, NoRecordsFound: 3.6%, Other Error: 0.0%, Avg Duration: 0.96ms
root@RainYun-KjlekjWk:~/new4#

这个是上传 pdf的log,不能识别pdf
2024-09-10T22:38:03.466Z DEBUG tunnel_loop{protocol="wireguard"}: boringtun::noise::timers: KEEPALIVE(PERSISTENT_KEEPALIVE)
warp | 2024/09/10 22:38:06 socks.go:889: [socks5] 172.18.0.3:51876 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:38:06 socks.go:941: [route] 172.18.0.3:51876 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:38:06 socks.go:976: [socks5] 172.18.0.3:51876 <-> chatgpt.com:443
warp | 2024/09/10 22:38:07 socks.go:889: [socks5] 172.18.0.3:38022 -> auto://:1080 -> www.tomchat.shop:443
warp | 2024/09/10 22:38:07 socks.go:941: [route] 172.18.0.3:38022 -> auto://:1080 -> www.tomchat.shop:443
warp | 2024/09/10 22:38:07 socks.go:976: [socks5] 172.18.0.3:38022 <-> www.tomchat.shop:443
warp | 2024-09-10T22:38:11.342Z DEBUG warp::warp_service::network_change: Routes changed:
warp | NewNeighbour; Destination: 172.18.0.3;
warp | 2024/09/10 22:38:12 socks.go:978: [socks5] 172.18.0.3:38022 >-< www.tomchat.shop:443
warp | 2024/09/10 22:38:12 socks.go:889: [socks5] 172.18.0.3:38032 -> auto://:1080 -> files.oaiusercontent.com:443
warp | 2024/09/10 22:38:12 socks.go:941: [route] 172.18.0.3:38032 -> auto://:1080 -> files.oaiusercontent.com:443
warp | 2024/09/10 22:38:13 socks.go:976: [socks5] 172.18.0.3:38032 <-> files.oaiusercontent.com:443
warp | 2024-09-10T22:38:17.285Z DEBUG tunnel_loop{protocol="wireguard"}: boringtun::noise::timers: SESSION_EXPIRED(REJECT_AFTER_TIME) session=11204516 index=43767
warp | 2024/09/10 22:38:22 socks.go:889: [socks5] 172.18.0.3:51000 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:38:22 socks.go:941: [route] 172.18.0.3:51000 -> auto://:1080 -> chatgpt.com:443
warp | 2024/09/10 22:38:23 socks.go:976: [socks5] 172.18.0.3:51000 <-> chatgpt.com:443
warp | 2024-09-10T22:38:23.116Z DEBUG warp::warp_service::network_change: Routes changed:
warp | NewNeighbour; Destination: 172.18.0.1;
warp | 2024/09/10 22:38:24 socks.go:978: [socks5] 172.18.0.3:51876 >-< chatgpt.com:443
warp | 2024/09/10 22:38:24 socks.go:978: [socks5] 172.18.0.3:38032 >-< files.oaiusercontent.com:443
warp | 2024/09/10 22:38:24 socks.go:978: [socks5] 172.18.0.3:51000 >-< chatgpt.com:443
warp | 2024-09-10T22:38:24.484Z DEBUG tunnel_loop{protocol="wireguard"}: warp-stats: Time since handshake: 31.51s, tx: 172.92MiB, rx: 357.72MiB, loss: 0.0%, latency: 8ms
warp | 2024-09-10T22:38:24.486Z DEBUG tunnel_loop{protocol="wireguard"}: warp_edge::tunnel_loop: Tunnel loop statistics stats=TunnelLoopStats { tun_packet_too_large: 0, edge_packet_too_large: 0, tun_packet_too_small: 0, edge_packet_too_small: 0, tun_packet_martian: 0, tun_packet_unhandled: 37, dropped_edge_packet: 0, dropped_tun_packet: 0, successfully_retried_tun_packet: 0 }
root@RainYun-KjlekjWk:~/new4#

@lanqian528
Copy link
Owner

请贴chat2api的日志,warp的日志没有帮助

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

2 participants