File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
DSL/Ruuter.private/rag-search/GET/prompt-configuration
pages/PromptConfigurations Expand file tree Collapse file tree 3 files changed +3
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ const PromptConfigurations: FC = () => {
8383 < Button
8484 appearance = { ButtonAppearanceTypes . PRIMARY }
8585 onClick = { handleSubmit }
86- disabled = { saveMutation . isPending || ! promptText . trim ( ) }
86+ disabled = { saveMutation . isLoading || ! promptText . trim ( ) }
8787 >
88- { saveMutation . isPending
88+ { saveMutation . isLoading
8989 ? ( isUpdating ? t ( 'promptConfigurations.updating' ) : t ( 'promptConfigurations.saving' ) )
9090 : ( isUpdating ? t ( 'promptConfigurations.updateButton' ) : t ( 'promptConfigurations.submitButton' ) )
9191 }
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ export const vaultEndpoints = {
3636}
3737
3838export const promptConfigurationEndpoints = {
39- GET_PROMPT_CONFIGURATION : ( ) : string => `/rag-search/prompt-configuration` ,
39+ GET_PROMPT_CONFIGURATION : ( ) : string => `/rag-search/prompt-configuration/get ` ,
4040 SAVE_PROMPT_CONFIGURATION : ( ) : string => `/rag-search/prompt-configuration/save` ,
4141}
You can’t perform that action at this time.
0 commit comments