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> = ({
40
40
showIcon
41
41
style = { { marginBottom : "16px" } }
42
42
/>
43
-
43
+
44
44
< Text strong > LLM 配置</ Text >
45
45
< Input
46
46
style = { { margin : "8px 0" } }
47
- addonBefore = "API Key "
48
- value = { config . llm . api_key }
47
+ addonBefore = "API Base "
48
+ value = { config . llm . api_base }
49
49
onChange = { ( e ) =>
50
50
setConfig ( {
51
51
...config ,
52
52
llm : {
53
53
...config . llm ,
54
- api_key : e . target . value ,
54
+ api_base : e . target . value ,
55
55
} ,
56
56
} )
57
57
}
58
58
/>
59
- < Input
59
+ < Input . Password
60
60
style = { { margin : "8px 0" } }
61
- addonBefore = "API Base "
62
- value = { config . llm . api_base }
61
+ addonBefore = "API Key "
62
+ value = { config . llm . api_key }
63
63
onChange = { ( e ) =>
64
64
setConfig ( {
65
65
...config ,
66
66
llm : {
67
67
...config . llm ,
68
- api_base : e . target . value ,
68
+ api_key : e . target . value ,
69
69
} ,
70
70
} )
71
71
}
@@ -85,7 +85,7 @@ const ConfigModal: React.FC<ConfigModalProps> = ({
85
85
}
86
86
/>
87
87
< Text strong > Embedding 配置</ Text >
88
- < Input
88
+ < Input . Password
89
89
style = { { margin : "8px 0" } }
90
90
addonBefore = "API Key"
91
91
value = { config . embedding . api_key }
You can’t perform that action at this time.
0 commit comments