fix: restore social context path and relax weibo cookie requirement

This commit is contained in:
Jason committed 2026-04-13 23:30:57 +08:00
1 parent 9f45c3f5eb
commit 2e77d9468a
3 files changed
+45 -5

No files matched your search

+2 -4
View File
@@ -3268,8 +3268,7 @@ function SettingsPage({ onClose }: SettingsPageProps = {}) {
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 6 }}>
<label style={{ marginBottom: 0 }}>自定义 AI 见解提示词</label>
<button
className="button-secondary"
style={{ fontSize: 12, padding: '3px 10px' }}
className="btn btn-secondary btn-sm"
onClick={async () => {
// 恢复默认:清空自定义值,UI 回到显示默认内容的状态
setAiInsightSystemPrompt('')
@@ -3676,8 +3675,7 @@ function SettingsPage({ onClose }: SettingsPageProps = {}) {
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 6 }}>
<label style={{ marginBottom: 0 }}>足迹总结提示词</label>
<button
className="button-secondary"
style={{ fontSize: 12, padding: '3px 10px' }}
className="btn btn-secondary btn-sm"
onClick={async () => {
setAiFootprintSystemPrompt('')
await configService.setAiFootprintSystemPrompt('')