我发现一个简单的问题,但是很多AI回答错误
- 内容介绍
- 文章标签
- 相关推荐
题目
```caddyfile
test.example.com {
@authed {
header Authorization "Bearer 123123123"
}
import log test.example.com
import common
reverse_proxy @authed 127.0.0.1:3003
respond 401 {
body "Unauthorized"
}
}
```
```shell
curl -X GET "https://test.example.com" \
-H "Authorization: Bearer 123123123"
Unauthorized
```
为什么 Unauthorized?
回答结果
| 模型名称 | reasoning effort | 回答正确与否 | 耗时 |
|---|---|---|---|
| deepseek v4 flash | max | 1.2m | |
| deepseek v4 pro | max | 2m | |
| glm-5.1 | 3m | ||
| gpt-5.4 | xhigh | 18s | |
| kimi-k2.6 | 7m |
因为我用的 ollama 还没上 deepseek v4 pro,所以用 web 端测试
ollama 重新上线了 ds v4 pro,测试仍然不能答出来
正确答案
题目
```caddyfile
test.example.com {
@authed {
header Authorization "Bearer 123123123"
}
import log test.example.com
import common
reverse_proxy @authed 127.0.0.1:3003
respond 401 {
body "Unauthorized"
}
}
```
```shell
curl -X GET "https://test.example.com" \
-H "Authorization: Bearer 123123123"
Unauthorized
```
为什么 Unauthorized?
回答结果
| 模型名称 | reasoning effort | 回答正确与否 | 耗时 |
|---|---|---|---|
| deepseek v4 flash | max | 1.2m | |
| deepseek v4 pro | max | 2m | |
| glm-5.1 | 3m | ||
| gpt-5.4 | xhigh | 18s | |
| kimi-k2.6 | 7m |
因为我用的 ollama 还没上 deepseek v4 pro,所以用 web 端测试
ollama 重新上线了 ds v4 pro,测试仍然不能答出来

