fix: restore social context path and relax weibo cookie requirement

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

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('')