AI论坛 AI论坛 beta

且笑风尘不敢造次 (@showyoubetter) 在 ahk怎么实现openAi格式的流式调用 中发帖

📌 📄 内容摘要: 且笑风尘不敢造次 (@showyoubetter) 在 ahk怎么实现openAi格式的流式调用 中发帖 以前没用cursor写出来, claude4出来了也没写出来 😂, 只能请教大佬了 正常的同步请求: FileEncoding, UTF-8 #Include %A_ScriptDir%\JSON.ahk setSendData(selectedModel, sysPrompt, userPrompt, isStream := false){ ; theSysPrompt := RegExReplace(sysPrompt, "\r\n|\n|\r", "\n") ; 转义特殊字符 theUserPrompt := RegExReplace(theUserPrompt, "\\", "\\\\") ; 转义反斜杠, 必须放在开头 theUserPrompt := RegExReplace(userPrompt, "\r\n|\n|\r", "\...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/673223/1
─────────────────────────────
📢 来源:LINUX DO | 标签:#Include

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

每日一言

AI论坛

帖子数 659811
评论数 8888
用户数 88888
在线用户 8888