WWW.YOUINFO.SITE
标签聚合 cline

/tag/cline

LinuxDo 最新话题 · 2026-06-07 17:31:25+08:00 · tech

[!NOTE] TL;DR: OpenAI Compatible https://api.cline.bot/api/v1 "variants": { "xhigh": {"reasoningEffort": "xhigh"}} 从 https://linux.do/t/topic/2321520 继续讨论。 接入 OpenCode 后,相比于官方 API,还是有一些坑点的。 三个免费模型(v4/2.5/3)端点都不支持 Anthropic 和 OpenAI Responses 格式,只支持 OpenAI Compatible 格式( @ai-sdk/openai-compatible ),否则返回 {"error":"Unauthorized: Please make sure you're using the latest version of Cline and re-authenticate your Cline account."} 三个免费模型只支持最高 xhigh 推理强度( "reasoning_effort": "xhigh" ),否则返回 { "error": { "code": "stream_initialization_failed", "message": "Failed to create stream: inference request failed: failed to generate stream from Vercel: failed to invoke model 'xiaomi/mimo-v2.5' with streaming: request failed with status 400: {\"error\":{\"message\":\"Invalid option: expected one of \\\"none\\\"|\\\"minimal\\\"|\\\"low\\\"|\\\"medium\\\"|\\\"high\\\"|\\\"xhigh\\\"\",\"type\":\"invalid_request_error\",\"param\":\"reasoning.effort\",\"code\":\"invalid_request_error\"}}", "request_id": "LcHaHtEeyQTvjxUZUakxwUfncoDlfsmV", "type": "stream_error" } } 比如在 CC-Switch/ opencode.json 时应该这么配置: OpenAI-Compatible https://api.cline.bot/api/v1 CC-Switch 内模型配置片段: { "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "https://api.cline.bot/api/v1", "apiKey": "sk_vme50thursdaykfcgogogoplease", "setCacheKey": true }, "models": { "deepseek/deepseek-v4-flash": { "name": "DeepSeek V4 Flash", "variants": { "xhigh": { "reasoningEffort": "xhigh" } } }, "xiaomi/mimo-v2.5": { "name": "MiMo V2.5", "variants": { "xhigh": { "reasoningEffort": "xhigh" } } }, "minimax/minimax-m3": { "name": "MiniMax M3", "variants": { "xhigh": { "reasoningEffort": "xhigh" } } } } } } 鬼知道除了 xhigh 以外的强度有什么副作用,所以就只配了 xhigh 。既然模型都是免费的,那直接上最强的 xhigh 就好了呗。多一事不如少一事。 另外需要注意的是,OC 的会话标题生成器使用的是 high 强度。 设置这么一大长串(当然我改短了才发出来的,实际上你依然可以选择填写剩下的 low medium )就是方便选择推理强度。不手动选择推理强度(也就是不显示字段/Select variant 选 Default)就会默认不发送 reasoning_effort 字段: 切换推理强度可以通过按键盘上的 Ctrl+T 或在输入框内输入 /variants : 1 个帖子 - 1 位参与者 阅读完整话题

LinuxDo 最新话题 · 2026-05-13 22:43:00+08:00 · tech

bybit卡需要有余额才可以过 刚才测试余额为0,提示 "code": "card_declined", ← 错误码:卡被拒绝 "decline_code": "generic_decline",← 拒绝原因:通用拒绝(发卡行直接拒) "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", ← 提示:你的卡被拒绝了 然后给卡重置了一些钱,立马就通过了 8 个帖子 - 7 位参与者 阅读完整话题

LinuxDo 最新话题 · 2026-05-08 22:38:39+08:00 · tech

CNBC – 8 May 26 Nintendo hikes Switch 2 prices and expects console sales to decline as memory... Nintendo said the price of the Switch 2 in the U.S. will rise from $449.99 to $499.99. In Japan, Nintendo will hike the price from 49,980 yen to 59,980 yen. [!quote]+ 任天堂表示,从 9 月 1 日起,Switch 2 在美国的售价将上涨 50 美元,从 449.99 美元涨至 499.99 美元。在日本,任天堂将从 5 月 25 日起把价格从 49980 日元提高到 59980 日元。25.任天堂还表示,Switch 2 在加拿大和欧洲的价格也将上涨。 该公司在 3 月份宣布将其旗舰产品 PlayStation 5 的价格上调多达 150 美元。 bbc.com Nintendo Switch 2 price rise takes effect from September The Japanese company behind Mario says "global market conditions" contributed to the decision. [!quote]+ 任天堂告诉 BBC Newsbeat,英国的修订价格(Switch 2 目前的售价为 395.99 英镑)将在晚些时候确认。 从 5 月 25 日起,Switch 2 的日语特别版和原版 Switch 游戏机的所有版本都将涨价。 任天堂还计划提高其在线服务在日本的订阅价格,因为日本玩家支付的费用历来低于国外玩家。 7 个帖子 - 7 位参与者 阅读完整话题