jukanntenn 最近的时间轴更新
jukanntenn

jukanntenn

V2EX 第 641222 号会员,加入于 2023-07-31 21:17:50 +08:00
今日活跃度排名 11678
自托管的 Markdown 消息存储和获取服务
分享创造  •  jukanntenn  •  2025 年 7 月 18 日  •  最后回复来自 jukanntenn
2
天翼云踩坑
云计算  •  jukanntenn  •  2025 年 1 月 25 日  •  最后回复来自 DICK23
8
frp 内网穿透开启了 HTTPS,但不是很明白其中的原理
问与答  •  jukanntenn  •  2025 年 1 月 22 日  •  最后回复来自 make115
7
jukanntenn 最近回复了
3 天前
回复了 sakurajiayou 创建的主题 推广 [CLAUDE] 送领千万 TOKEN
x4da0x 感谢!
好像 custom 有些 bug ,我接入英伟达的接口,模型 minimax2.1 ,返回的结果:

```
<think>The changes are:
1. In `src/pool.rs`:
- Added `use log::error;` import
- Changed two `self.ticks.update(...)` calls from using the try operator (`?`) to using `match` expressions that log an error and return the error if one occurs.

2. In `src/quoter.rs`:
- Added `use log::error;` import
- Changed the `pool.get_output_amount(...)` call from using the try operator (`?`) to using a `match` expression that logs an error and returns the error if one occurs.

The changes are about error handling and logging. They are making the error handling more explicit by logging errors before returning them.

The most significant change is the addition of error logging in both files. This is a fix in the sense that it improves error reporting, but it doesn't fix a bug per se. It's more of a refactor to add logging.

The conventional commit type for such changes would be either `fix` (if we consider it as fixing the lack of logging) or `refactor` (if we consider it as refactoring the error handling). However, since the primary purpose is to add logging for better error reporting, I think `
```
我添加了 GLM 的 key ,依然提示错误:OpenAI key not set
静态网站?我在输入框输了一个名字,按回车没有任何反应。
懒猫微服,内网穿透真丝滑,远程微信能多开,新年抽奖送好礼!
7 天前
回复了 owlzhang95 创建的主题 生活 打呼噜影响家庭生活状态了
我买了可升降的电动床,头部抬高,睡前注意一下睡姿,改善了非常多。我媳妇儿以前会被呼醒数次,最近监测降低到了 1 次以下。
@metalmax #14 可以分享吗?这个太刚需了!
AI 才喜欢不加空格,搞得我非常难受。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   940 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 20:17 · PVG 04:17 · LAX 12:17 · JFK 15:17
♥ Do have faith in what you're doing.