fix: handle IME mode in editor (#1371)

* fix: handle IME mode in editor

* chore: update
This commit is contained in:
boojack
2023-03-17 20:47:55 +08:00
committed by GitHub
parent 2ba0dbf50b
commit e526cef754
3 changed files with 26 additions and 5 deletions

View File

@ -204,7 +204,7 @@ const SystemSection = () => {
fontFamily: "monospace",
fontSize: "14px",
}}
placeholder="Write only"
placeholder="OpenAI API Key"
value={openAIConfig.key}
onChange={(event) => handleOpenAIConfigKeyChanged(event.target.value)}
/>
@ -217,7 +217,7 @@ const SystemSection = () => {
fontFamily: "monospace",
fontSize: "14px",
}}
placeholder="OpenAI Host. Default: https://api.openai.com"
placeholder="OpenAI API Host. Default: https://api.openai.com"
value={openAIConfig.host}
onChange={(event) => handleOpenAIConfigHostChanged(event.target.value)}
/>