File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
sources/gc-qa-rag-etl/etlapp-web/src/components Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -40,32 +40,32 @@ const ConfigModal: React.FC<ConfigModalProps> = ({
4040 showIcon
4141 style = { { marginBottom : "16px" } }
4242 />
43-
43+
4444 < Text strong > LLM 配置</ Text >
4545 < Input
4646 style = { { margin : "8px 0" } }
47- addonBefore = "API Key "
48- value = { config . llm . api_key }
47+ addonBefore = "API Base "
48+ value = { config . llm . api_base }
4949 onChange = { ( e ) =>
5050 setConfig ( {
5151 ...config ,
5252 llm : {
5353 ...config . llm ,
54- api_key : e . target . value ,
54+ api_base : e . target . value ,
5555 } ,
5656 } )
5757 }
5858 />
59- < Input
59+ < Input . Password
6060 style = { { margin : "8px 0" } }
61- addonBefore = "API Base "
62- value = { config . llm . api_base }
61+ addonBefore = "API Key "
62+ value = { config . llm . api_key }
6363 onChange = { ( e ) =>
6464 setConfig ( {
6565 ...config ,
6666 llm : {
6767 ...config . llm ,
68- api_base : e . target . value ,
68+ api_key : e . target . value ,
6969 } ,
7070 } )
7171 }
@@ -85,7 +85,7 @@ const ConfigModal: React.FC<ConfigModalProps> = ({
8585 }
8686 />
8787 < Text strong > Embedding 配置</ Text >
88- < Input
88+ < Input . Password
8989 style = { { margin : "8px 0" } }
9090 addonBefore = "API Key"
9191 value = { config . embedding . api_key }
You can’t perform that action at this time.
0 commit comments