Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
082d1d15
Commit
082d1d15
authored
Feb 17, 2024
by
Timothy J. Baek
Browse files
fix: template load issue
parent
5270efa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/apis/rag/index.ts
src/lib/apis/rag/index.ts
+1
-1
No files found.
src/lib/apis/rag/index.ts
View file @
082d1d15
...
@@ -82,7 +82,7 @@ export const getRAGTemplate = async (token: string) => {
...
@@ -82,7 +82,7 @@ export const getRAGTemplate = async (token: string) => {
throw
error
;
throw
error
;
}
}
return
res
;
return
res
?.
template
??
''
;
};
};
export
const
updateRAGTemplate
=
async
(
token
:
string
,
template
:
string
)
=>
{
export
const
updateRAGTemplate
=
async
(
token
:
string
,
template
:
string
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment