抱歉,这几天没有上论坛,耽误了大佬的时间
今天又测试了一下,用aichat-bingai-chat
输入 你好
后,*Messages*
返回的错误信息变了,现在是
(error (error (json-end-of-file unexpected token near end of file <string> 1 0 0)))
(error (error Invalid format operation %E))
*AICHAT-DEBUG*
是我疏忽了,原来我是用的daemon测试,buffer中的确没有内容,现在正常打开一看,发现有内容了
Shell command: python -c "import browser_cookie3" in nil
Shell command: python -c "import browser_cookie3;list(map(lambda c: print('{} {} {} {} {} {}'.format(c.name, c.value, c.expires, c.domain, c.path, c.secure)), filter(lambda c: c.domain in ('.bing.com', 'www.bing.com'), browser_cookie3.edge(domain_name='bing.com'))))" in nil
bing-cookies:
((ABDEF V=13&ABDV=11&MRNB=1679139972356&MRB=0 2024-04-21T19:46:12+0800 .bing.com / t) (ANIMIA FRE=1 2023-03-27T08:13:06+0800 .bing.com / t) (ANON A=F5E2D31CC833261F284D5C7CFFFFFFFF 2024-04-21T22:35:13+0800 .bing.com / t) (MUID 29CB530C360E6A780C1C41CE37206B01 2024-04-11T10:51:55+0800 .bing.com / t) (SRCHD AF=ANNTA1 2024-03-30T14:14:57+0800 .bing.com / t) (SRCHHPGUSR SRCHLANG=zh-Hans&PV=6.2.6&BRW=XW&BRH=M&CW=1496&CH=796&SCW=1204&SCH=316&DPR=1.1&UTC=480&DM=1&EXLTT=31&HV=1679146519&WTS=63812816097&PRVCW=1496&PRVCH=796&THEME=1&BZA=0&cdxtone=Balanced 2024-04-21T22:35:13+0800 .bing.com / t) (SRCHUID V=2&GUID=86595A615DB943F38ED095090B5CFD50&dmnchg=1 2024-03-30T14:14:57+0800 .bing.com / t) (SRCHUSR DOB=20230224&T=1679146511000&POEX=W 2024-04-21T21:35:13+0800 .bing.com / t) (SUID A 2023-03-18T22:51:57+0800 .bing.com / t) (SnrOvr X=rebateson 2024-03-18T21:35:19+0800 .bing.com / t) (USRLOC HS=1&ELOC=LAT=35.65134048461914|LON=139.79026794433594|N=%E4%B8%9C%E4%BA%AC%EF%BC%8C%E4%B8%9C%E4%BA%AC%E9%83%BD|ELT=1| 2024-04-21T21:35:16+0800 .bing.com / t) (ZHCHATSTRONGATTRACT TRUE 2023-03-25T11:25:59+0800 .bing.com / t) (ZHCHATWEAKATTRACT TRUE 2023-03-19T11:26:07+0800 .bing.com / t) (_HPVN CS=eyJQbiI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiUCJ9LCJTYyI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiSCJ9LCJReiI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiVCJ9LCJBcCI6dHJ1ZSwiTXV0ZSI6dHJ1ZSwiTGFkIjoiMjAyMy0wMy0xOFQwMDowMDowMFoiLCJJb3RkIjowLCJHd2IiOjAsIkRmdCI6bnVsbCwiTXZzIjowLCJGbHQiOjAsIkltcCI6MTA2fQ== 2024-04-21T21:35:13+0800 .bing.com / t) (_RwBf ilt=7&ihpd=2&ispd=5&rc=99&rb=99&gb=0&rg=0&pc=99&mtu=0&rbb=0.0&g=0&cid=&clo=0&v=10&l=2023-03-18T07:00:00.0000000Z&lft=0001-01-01T00:00:00.0000000&aof=0&o=0&p=bingcopilotwaitlist&c=MY00IA&t=438&s=2023-02-18T05:43:55.2607377+00:00&ts=2023-03-18T13:35:18.2205857+00:00&rwred=0&wls=2&lka=0&lkt=0&TH=&r=1&mta=0&e=43VU43qKGZfyJjb-lDbY9RFtSocvq0SpoUKTfgoyXfQEC_86uLN7khcJB4F_qWBx214wYDMZfc3wMwAgJLZZ_w&A=F5E2D31CC833261F284D5C7CFFFFFFFF 2024-04-21T22:35:13+0800 .bing.com / t) (_U 1hGgM6IgENNbYJAQp2nYm14bn2aotku8lvrQDjpKHD37K5EsdHAv2IYNpqLtFmiPe21ia0dD8HVnvOvnXxjGGxf8GMlkeICPpvHQ2D4S-Q7UCWQV0LWpRfL1OKPkW21Le3fYxCFi704xSwUdGQiPM4aki4Pbi6DIaPJwQCN3j8rko7PvytB-yi_kkpdngLkT85bmtn1jMeRvNN8lWG-p1PfWNtFVRaRfmNEAMK-muabA 2023-04-01T22:35:13+0800 .bing.com / t) (_UR QS=0&TQS=0 2024-04-21T21:35:13+0800 .bing.com / t) (_clck hodh4e|1|fa0|0 2024-03-17T10:52:06+0800 .bing.com / nil) (_clsk 1y9x3jc|1679150729310|3|1|k.clarity.ms/collect 2023-03-19T22:45:29+0800 .bing.com / nil) (MUIDB 29CB530C360E6A780C1C41CE37206B01 2024-04-11T22:35:13+0800 www.bing.com / nil) (MicrosoftApplicationsTelemetryDeviceId 218e6306-5f75-49b6-846f-3b848e7081ea 2024-03-17T21:35:13+0800 www.bing.com / t))
cur command: (curl --silent --show-error --include --config -), config:
url = "https://edgeservices.bing.com/edgesvc/turing/conversation/create"
request = "GET"
user-agent = "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 Edg/111.0.1661.41"
header = "Cookie: _clck=hodh4e|1|fa0|0; ABDEF=V=13&ABDV=11&MRNB=1679139972356&MRB=0; ANIMIA=FRE=1; ANON=A=F5E2D31CC833261F284D5C7CFFFFFFFF; MUID=29CB530C360E6A780C1C41CE37206B01; SRCHD=AF=ANNTA1; SRCHHPGUSR=SRCHLANG=zh-Hans&PV=6.2.6&BRW=XW&BRH=M&CW=1496&CH=796&SCW=1204&SCH=316&DPR=1.1&UTC=480&DM=1&EXLTT=31&HV=1679146519&WTS=63812816097&PRVCW=1496&PRVCH=796&THEME=1&BZA=0&cdxtone=Balanced; SRCHUID=V=2&GUID=86595A615DB943F38ED095090B5CFD50&dmnchg=1; SRCHUSR=DOB=20230224&T=1679146511000&POEX=W; SnrOvr=X=rebateson; USRLOC=HS=1&ELOC=LAT=35.65134048461914|LON=139.79026794433594|N=%E4%B8%9C%E4%BA%AC%EF%BC%8C%E4%B8%9C%E4%BA%AC%E9%83%BD|ELT=1|; ZHCHATSTRONGATTRACT=TRUE; _HPVN=CS=eyJQbiI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiUCJ9LCJTYyI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiSCJ9LCJReiI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiVCJ9LCJBcCI6dHJ1ZSwiTXV0ZSI6dHJ1ZSwiTGFkIjoiMjAyMy0wMy0xOFQwMDowMDowMFoiLCJJb3RkIjowLCJHd2IiOjAsIkRmdCI6bnVsbCwiTXZzIjowLCJGbHQiOjAsIkltcCI6MTA2fQ==; _RwBf=ilt=7&ihpd=2&ispd=5&rc=99&rb=99&gb=0&rg=0&pc=99&mtu=0&rbb=0.0&g=0&cid=&clo=0&v=10&l=2023-03-18T07:00:00.0000000Z&lft=0001-01-01T00:00:00.0000000&aof=0&o=0&p=bingcopilotwaitlist&c=MY00IA&t=438&s=2023-02-18T05:43:55.2607377+00:00&ts=2023-03-18T13:35:18.2205857+00:00&rwred=0&wls=2&lka=0&lkt=0&TH=&r=1&mta=0&e=43VU43qKGZfyJjb-lDbY9RFtSocvq0SpoUKTfgoyXfQEC_86uLN7khcJB4F_qWBx214wYDMZfc3wMwAgJLZZ_w&A=F5E2D31CC833261F284D5C7CFFFFFFFF; _U=1hGgM6IgENNbYJAQp2nYm14bn2aotku8lvrQDjpKHD37K5EsdHAv2IYNpqLtFmiPe21ia0dD8HVnvOvnXxjGGxf8GMlkeICPpvHQ2D4S-Q7UCWQV0LWpRfL1OKPkW21Le3fYxCFi704xSwUdGQiPM4aki4Pbi6DIaPJwQCN3j8rko7PvytB-yi_kkpdngLkT85bmtn1jMeRvNN8lWG-p1PfWNtFVRaRfmNEAMK-muabA; _UR=QS=0&TQS=0"
header = "authority: edgeservices.bing.com"
header = "accept: application/json"
header = "accept-language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
header = "content-type: application/json"
header = "referer: https://edgeservices.bing.com/edgesvc/chat"
header = "sec-ch-ua: \"Microsoft Edge\"=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\""
header = "sec-ch-ua-mobile: ?0"
header = "sec-ch-ua-platform: \"Windows\""
header = "sec-fetch-dest: empty"
header = "sec-fetch-mode: cors"
header = "sec-fetch-site: same-origin"
header = "x-ms-client-request-id: bac06ff9-0782-4a57-8212-0bd3af6606a3"
header = "x-ms-useragent: azsdk-js-api-client-factory/1.0.0-beta.1 core-rest-pipeline/1.10.0 OS/Win32"
curl filter data:
HTTP/2 200
e[1mx-cachee[0m: CONFIG_NOCACHE
e[1maccept-che[0m: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
e[1mx-msedge-refe[0m: Ref A: 738BF5346B0844BBBFCA03C48B5B9E0F Ref B: LAX311000111051 Ref C: 2023-03-24T11:05:29Z
e[1mdatee[0m: Fri, 24 Mar 2023 11:05:29 GMT
e[1mcontent-lengthe[0m: 0
curl process sentinel: finished
status:
(200)
headers:
(() (e[1mcontent-lengthe[0m . 0) (e[1mdatee[0m . Fri, 24 Mar 2023 11:05:29 GMT) (e[1mx-msedge-refe[0m . Ref A) (e[1maccept-che[0m . Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version) (e[1mx-cachee[0m . CONFIG_NOCACHE))
body:
cur command: (curl --silent --show-error --include --config -), config:
url = "https://edgeservices.bing.com/edgesvc/turing/conversation/create"
request = "GET"
user-agent = "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 Edg/111.0.1661.41"
header = "Cookie: _clck=hodh4e|1|fa0|0; ABDEF=V=13&ABDV=11&MRNB=1679139972356&MRB=0; ANIMIA=FRE=1; ANON=A=F5E2D31CC833261F284D5C7CFFFFFFFF; MUID=29CB530C360E6A780C1C41CE37206B01; SRCHD=AF=ANNTA1; SRCHHPGUSR=SRCHLANG=zh-Hans&PV=6.2.6&BRW=XW&BRH=M&CW=1496&CH=796&SCW=1204&SCH=316&DPR=1.1&UTC=480&DM=1&EXLTT=31&HV=1679146519&WTS=63812816097&PRVCW=1496&PRVCH=796&THEME=1&BZA=0&cdxtone=Balanced; SRCHUID=V=2&GUID=86595A615DB943F38ED095090B5CFD50&dmnchg=1; SRCHUSR=DOB=20230224&T=1679146511000&POEX=W; SnrOvr=X=rebateson; USRLOC=HS=1&ELOC=LAT=35.65134048461914|LON=139.79026794433594|N=%E4%B8%9C%E4%BA%AC%EF%BC%8C%E4%B8%9C%E4%BA%AC%E9%83%BD|ELT=1|; ZHCHATSTRONGATTRACT=TRUE; _HPVN=CS=eyJQbiI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiUCJ9LCJTYyI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiSCJ9LCJReiI6eyJDbiI6OCwiU3QiOjAsIlFzIjowLCJQcm9kIjoiVCJ9LCJBcCI6dHJ1ZSwiTXV0ZSI6dHJ1ZSwiTGFkIjoiMjAyMy0wMy0xOFQwMDowMDowMFoiLCJJb3RkIjowLCJHd2IiOjAsIkRmdCI6bnVsbCwiTXZzIjowLCJGbHQiOjAsIkltcCI6MTA2fQ==; _RwBf=ilt=7&ihpd=2&ispd=5&rc=99&rb=99&gb=0&rg=0&pc=99&mtu=0&rbb=0.0&g=0&cid=&clo=0&v=10&l=2023-03-18T07:00:00.0000000Z&lft=0001-01-01T00:00:00.0000000&aof=0&o=0&p=bingcopilotwaitlist&c=MY00IA&t=438&s=2023-02-18T05:43:55.2607377+00:00&ts=2023-03-18T13:35:18.2205857+00:00&rwred=0&wls=2&lka=0&lkt=0&TH=&r=1&mta=0&e=43VU43qKGZfyJjb-lDbY9RFtSocvq0SpoUKTfgoyXfQEC_86uLN7khcJB4F_qWBx214wYDMZfc3wMwAgJLZZ_w&A=F5E2D31CC833261F284D5C7CFFFFFFFF; _U=1hGgM6IgENNbYJAQp2nYm14bn2aotku8lvrQDjpKHD37K5EsdHAv2IYNpqLtFmiPe21ia0dD8HVnvOvnXxjGGxf8GMlkeICPpvHQ2D4S-Q7UCWQV0LWpRfL1OKPkW21Le3fYxCFi704xSwUdGQiPM4aki4Pbi6DIaPJwQCN3j8rko7PvytB-yi_kkpdngLkT85bmtn1jMeRvNN8lWG-p1PfWNtFVRaRfmNEAMK-muabA; _UR=QS=0&TQS=0"
header = "authority: edgeservices.bing.com"
header = "accept: application/json"
header = "accept-language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
header = "content-type: application/json"
header = "referer: https://edgeservices.bing.com/edgesvc/chat"
header = "sec-ch-ua: \"Microsoft Edge\"=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\""
header = "sec-ch-ua-mobile: ?0"
header = "sec-ch-ua-platform: \"Windows\""
header = "sec-fetch-dest: empty"
header = "sec-fetch-mode: cors"
header = "sec-fetch-site: same-origin"
header = "x-ms-client-request-id: bac06ff9-0782-4a57-8212-0bd3af6606a3"
header = "x-ms-useragent: azsdk-js-api-client-factory/1.0.0-beta.1 core-rest-pipeline/1.10.0 OS/Win32"
curl filter data:
HTTP/2 200
e[1mcache-controle[0m: private
e[1mcontent-lengthe[0m: 242
e[1mcontent-typee[0m: application/json; charset=utf-8
e[1mp3pe[0m: CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND"
e[1mset-cookiee[0m: _C_ETH=1; domain=.bing.com; path=/; secure; httponly
e[1maccess-control-allow-credentialse[0m: true
e[1maccess-control-allow-origine[0m: *
e[1mx-fd-browsername-mismatche[0m: android-Edg
e[1mx-fd-browserdata-mismatche[0m: name=android,ismobile=1,family=android,mode=unknown,majorversion=0,minorversion=0,analysissegment=android,analysissubsegment=android.0-name=Edg,ismobile=1,family=Edg,mode=unknown,majorversion=111,minorversion=0,analysissegment=Edg_next,analysissubsegment=Edg_next.others
e[1maccept-che[0m: Sec-CH-UA-Bitness, Sec-CH-UA-Arch, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Platform, Sec-CH-UA, UA-Bitness, UA-Arch, UA-Full-Version, UA-Mobile, UA-Model, UA-Platform-Version, UA-Platform, UA
e[1museragentreductionoptoute[0m: A7kgTC5xdZ2WIVGZEfb1hUoNuvjzOZX3VIV/BA6C18kQOOF50Q0D3oWoAm49k3BQImkujKILc7JmPysWk3CSjwUAAACMeyJvcmlnaW4iOiJodHRwczovL3d3dy5iaW5nLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2VuZEZ1bGxVc2VyQWdlbnRBZnRlclJlZHVjdGlvbiIsImV4cGlyeSI6MTY4NDg4NjM5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=
e[1mcontent-security-policy-report-onlye[0m: script-src https: 'strict-dynamic' 'report-sample' 'nonce-W+l0RYx2gzUujfRqjpc2nK96bzppmeuOijgXz6EGm5Y='; base-uri 'self';report-to csp-endpoint
e[1mreport-toe[0m: {"group":"csp-endpoint","max_age":86400,"endpoints":[{"url":"https://aefd.nelreports.net/api/report?cat=bingcsp"}]}
e[1mx-ceto-refe[0m: 641d841048904110bdce36d8425b6f6a|2023-03-24T11:05:52.312Z
e[1mx-cachee[0m: CONFIG_NOCACHE
e[1mx-msedge-refe[0m: Ref A: 493B0229BC404D21A830040F29E97C83 Ref B: LAXEDGE1919 Ref C: 2023-03-24T11:05:52Z
e[1mdatee[0m: Fri, 24 Mar 2023 11:05:51 GMT
curl filter data:
{"conversationId":"51D|BingProd|474259183E99881CCFE1267904C8767DA3591571AE6116044D63E34491058DF0","clientId":"914798573560438","conversationSignature":"iK1HI5STZ7XxD7OBJbAg0b/bXdnruFqOQ0EAGZfUj8U=","result":{"value":"Success","message":null}}
curl process sentinel: finished
status:
(200)
headers:
(() (e[1mdatee[0m . Fri, 24 Mar 2023 11:05:51 GMT) (e[1mx-msedge-refe[0m . Ref A) (e[1mx-cachee[0m . CONFIG_NOCACHE) (e[1mx-ceto-refe[0m . 641d841048904110bdce36d8425b6f6a|2023-03-24T11:05:52.312Z) (e[1mreport-toe[0m . {"group":"csp-endpoint","max_age":86400,"endpoints":[{"url":"https://aefd.nelreports.net/api/report?cat=bingcsp"}]}) (e[1mcontent-security-policy-report-onlye[0m . script-src https) (e[1museragentreductionoptoute[0m . A7kgTC5xdZ2WIVGZEfb1hUoNuvjzOZX3VIV/BA6C18kQOOF50Q0D3oWoAm49k3BQImkujKILc7JmPysWk3CSjwUAAACMeyJvcmlnaW4iOiJodHRwczovL3d3dy5iaW5nLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2VuZEZ1bGxVc2VyQWdlbnRBZnRlclJlZHVjdGlvbiIsImV4cGlyeSI6MTY4NDg4NjM5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=) (e[1maccept-che[0m . Sec-CH-UA-Bitness, Sec-CH-UA-Arch, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Platform, Sec-CH-UA, UA-Bitness, UA-Arch, UA-Full-Version, UA-Mobile, UA-Model, UA-Platform-Version, UA-Platform, UA) (e[1mx-fd-browserdata-mismatche[0m . name=android,ismobile=1,family=android,mode=unknown,majorversion=0,minorversion=0,analysissegment=android,analysissubsegment=android.0-name=Edg,ismobile=1,family=Edg,mode=unknown,majorversion=111,minorversion=0,analysissegment=Edg_next,analysissubsegment=Edg_next.others) (e[1mx-fd-browsername-mismatche[0m . android-Edg) (e[1maccess-control-allow-origine[0m . *) (e[1maccess-control-allow-credentialse[0m . true) (e[1mset-cookiee[0m . _C_ETH=1; domain=.bing.com; path=/; secure; httponly) (e[1mp3pe[0m . CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND") (e[1mcontent-typee[0m . application/json; charset=utf-8) (e[1mcontent-lengthe[0m . 242) (e[1mcache-controle[0m . private))
body:
{"conversationId":"51D|BingProd|474259183E99881CCFE1267904C8767DA3591571AE6116044D63E34491058DF0","clientId":"914798573560438","conversationSignature":"iK1HI5STZ7XxD7OBJbAg0b/bXdnruFqOQ0EAGZfUj8U=","result":{"value":"Success","message":null}}
====== chathub closed ======
[WS] Sending handshake, key: wKN4oyt/aaioGDq/r2VvnQ==, acceptance: +f4P7MEqdPihTkMdbLgStNc4OT0=
[WS] State change to connection broken by remote peer