在 Emacs 中使用必应 Chat

xhcoding/emacs-aichat (github.com)

前提条件:

拥有微软账户并有使用 Bing Chat 的资格, Bing AI - Search

安装:

emacs 依赖

  1. emacs-websocket
  2. emacs-async-await

将 bingai.el 放到 load-path 中,比如 ~/elisp

(add-to-list 'load-path (expand-file-name "~/elisp"))

然后加载 bingai

(require 'bingai)

使用

bingai 需要浏览器的 cookie 来登录必应,有两种方式:

  1. 安装 python 包 browser_cookie3 , pip3 install browser_cookie3 ,在终端中运行下面的代码能看到输出就可以了
python -c "import browser_cookie3;list(map(lambda c: print('{} {} {} {} {} {}'.format(c.name, c.value, c.expires,c.domain, c.secure, c.path)), filter(lambda c: c.domain in ('.bing.com', 'www.bing.com'), browser_cookie3.edge(domain_name='bing.com'))))"
  1. 安装 CookieEditor 浏览器扩展,进入到 www.bing.com ,打开扩展点击 Export,导出 cookie 到剪贴板,然后把内容复制到一个文件中,比如 cookies.json ,设置 bingai-cookies-file 的值为 cookie 文件的路径
(setq bingai-cookies-file "/path/cookies.json")

M-x bingai-chat 开始对话

C-u M-x bingai-chat 开始新的对话

bingai

17 个赞

太秀了,点个赞

tql,用上了,怎接下去问下一个问题呢,在同一次对话中

ps: 原来接着 bingai-chat 就行了,我还以为要在 buffer 中手动 # 问题

交互上还比较简单,我还在思考这一块怎么实现更好

好像新新内容都是在 cursor 那个上屏,如果这时候滚动的话就会乱掉,或许在 buffer 最下面会好一些?

好用!比浏览器里方便多了。

这个问题解决了,现在生成答案的时候可以随意滚动,不会插入到光标位置

现在 bing 的限制是 10 个问题然后就得重开会话,能实现自动重开吗?或者在提问前加个序号,比如3/10 之类的来标记?

加了检测对话限制,超过了限制会自动开一个新的会话

1 个赞

这两天更新了一下这个项目:

  1. 加入了 openai 的支持
  2. 将 bingai-chat 改成 aichat-bingai-chat
  3. openai 和 bingai 都提供了两个 api ,方便用户自定义各种操作

具体请看 README

emacs-aichat/README.zh-CN.org at main · xhcoding/emacs-aichat (github.com)

3 个赞

你好,我更新到新版后,按照文档修改了配置,直接调用 aichat-bingai-chat 发生了错误。 更新过token,也依然发生。 打开调试模式看到 websocket 通信信息如下:

[WS] Checking for upgrade header
[WS] Checking for connection header
[WS] Sending frame, opcode: text payload: {"protocol":"json","version":1}
[WS] Received: �{}
[WS] Sending frame, opcode: text payload: {"arguments":[{"source":"cib","optionsSets":["nlu_direct_response_filter","deepleo","disable_emoji_spoken_text","responsible_ai_policy_2235","enablemm","rai253","cricinfo","cricinfov2","dv3sugg","harmonyv3"],"allowedMessageTypes":["Chat","InternalSearchQuery","InternalSearchResult","InternalLoaderMessage",68,105,115,101,110,103,97,103,101,100],"sliceIds":["h3adss0","301rai253","225cricinfo","224locals0"],"isStartOfSession":true,"message":{"author":"user","inputMethod":"Keyboard","text":"Hello","messageType":"Chat"},"conversationSignature":"wVMFO5cTuxcRV+QfaIDxSltrBbFOwzzBbVrixvOfBbs=","participant":{"id":"985153870129771"},"conversationId":"51D|BingProd|AF065B8E44B4BE7EA84E828EC1151F27AABDC16BEA9949503CE88478D83844D2"}],"invocationId":"0","target":"chat","type":4}
[WS] Received: �_{"type":3,"invocationId":"0","error":"Failed to invoke 'chat' due to an error on the server."}

最新的 commit 修复了这个问题

1 个赞

大佬好 :smile:

运行 aichat-bingai-chat 后,出现

(error (error Invalid format operation %E))

*Warnings*提示

 ■  Error (websocket): in callback `on-close': Symbol's function definition is void: nil

请按照下面的步骤贴一下 *AICHAT-DEBUG* 的内容

emacs-aichat/README.zh-CN.org at main · xhcoding/emacs-aichat (github.com)

按照此步骤调试,并未创造 *AICHAT-DEBUG* 这个buffer :cry:

我尝试修复了一下,你更新到最新,看一下还有问题没

辛苦大佬了,问题仍然存在 :cry: :disappointed_relieved:

但这次 *AICHAT-DEBUG*中出现了 ====== chathub closed ======

*AICHAT-DEBUG* 里面应该不止这一句吧,你把所有内容贴出来,还有 *websocket wss://sydney.bing.com/sydney/ChatHub debug* 里面也会有一些信息

抱歉,这几天没有上论坛,耽误了大佬的时间 :cry:

今天又测试了一下,用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

更新 GitHub - ahyatt/emacs-websocket: A websocket implementation in elisp, for emacs. 到最新的 commit

1 个赞