Skip to content

Commit 196b258

Browse files
committed
修复一些警告
1 parent 06bcfc9 commit 196b258

6 files changed

Lines changed: 1299 additions & 679 deletions

File tree

app/components/assistant-ui/attachment.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,9 @@ const AttachmentUI: FC = () => {
154154
return "Document";
155155
case "file":
156156
return "File";
157-
default: {
158-
const _exhaustiveCheck: never = type;
159-
throw new Error(`Unknown attachment type: ${_exhaustiveCheck}`);
160-
}
157+
default:
158+
// 0.12.x 允许自定义 attachment type(string & {}),兜底返回 "File"
159+
return "File";
161160
}
162161
});
163162

app/docs/CommunityShare/Amazing-AI-Tools/prompt-repetition-improves-non-reasoning-llms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags:
99
docId: l6eepr5ctjgrhdgupy3twr1t
1010
---
1111

12-
<https://arxiv.org/pdf/2512.14982>
12+
&lt;https://arxiv.org/pdf/2512.14982&gt;
1313

1414
When not using reasoning, repeating the input prompt improves performance for popular models (Gemini, GPT, Claude, and Deepseek) without increasing the number of generated tokens or latency.
1515

app/docs/CommunityShare/Leetcode/142.环形链表II_translated.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ docId: ylpucy1rbbnfpe3t62u8kcfq
2323
[//]: #
2424
[//]: # "<p><strong>Exemplary example 1:</strong></p>"
2525
[//]: #
26-
[//]: # '<p><img src="https://assets.leetcode.com/uploads/2018/12/07/circularlinkedlist.png" /></p>'
26+
[//]: # '<p>&lt;img src="https://assets.leetcode.com/uploads/2018/12/07/circularlinkedlist.png" /&gt;</p>'
2727
[//]: #
2828
[//]: # "<pre>"
2929
[//]: # "<strong>enter:</strong>head = [3,2,0,-4], pos = 1"
@@ -33,7 +33,7 @@ docId: ylpucy1rbbnfpe3t62u8kcfq
3333
[//]: #
3434
[//]: # "<p><strong>Exemplary example 2:</strong></p>"
3535
[//]: #
36-
[//]: # '<p><img alt="" src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/12/07/circularlinkedlist_test2.png" /></p>'
36+
[//]: # '<p>&lt;img alt="" src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/12/07/circularlinkedlist_test2.png" /&gt;</p>'
3737
[//]: #
3838
[//]: # "<pre>"
3939
[//]: # "<strong>enter:</strong>head = [1,2], pos = 0"
@@ -43,7 +43,7 @@ docId: ylpucy1rbbnfpe3t62u8kcfq
4343
[//]: #
4444
[//]: # "<p><strong>Exemplary example 3:</strong></p>"
4545
[//]: #
46-
[//]: # '<p><img alt="" src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/12/07/circularlinkedlist_test3.png" /></p>'
46+
[//]: # '<p>&lt;img alt="" src="https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2018/12/07/circularlinkedlist_test3.png" /&gt;</p>'
4747
[//]: #
4848
[//]: # "<pre>"
4949
[//]: # "<strong>enter:</strong>head = [1], pos = -1"
@@ -57,7 +57,7 @@ docId: ylpucy1rbbnfpe3t62u8kcfq
5757
[//]: #
5858
[//]: # "<ul> "
5959
[//]: # " <li>Linked中节点的数目范围在范围 <code>[0, 10<sup>4</sup>]</code> Inside</li> "
60-
[//]: # " <li><code>-10<sup>5</sup> <= Node.val <= 10<sup>5</sup></code></li> "
60+
[//]: # " <li><code>-10<sup>5</sup> &lt;= Node.val &lt;= 10&lt;sup&gt;5</sup></code></li> "
6161
[//]: # " <li><code>pos</code> Value <code>-1</code> 或者Linked中的一indivualhave效索引</li> "
6262
[//]: # "</ul>"
6363

0 commit comments

Comments
 (0)