Skip to content

fix: isolate settings API key autofill fields#48

Open
ShaojieLiu wants to merge 1 commit intoTHU-MAIC:mainfrom
ShaojieLiu:lsj/fix-auto-complete
Open

fix: isolate settings API key autofill fields#48
ShaojieLiu wants to merge 1 commit intoTHU-MAIC:mainfrom
ShaojieLiu:lsj/fix-auto-complete

Conversation

@ShaojieLiu
Copy link

Summary

防止部分浏览器自动填充导致API Key互相覆盖

Related Issues

"Fixes #46 "

Changes

  • components/settings/*-settings.tsx

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • CI/CD or build changes

Verification

Steps to reproduce / test

1.打开设置
2.填写网络搜索API Key
3.点击保存,无法正常保存,会被语言模型的key覆盖

What you personally verified

Evidence

  • CI passes (pnpm check && pnpm lint && npx tsc --noEmit)
  • Manually tested locally
  • Screenshots / recordings attached (if UI changes)

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have added/updated documentation as needed
  • My changes do not introduce new warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Web search failed

1 participant