mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
fix: Format skill import parse handling
This commit is contained in:
parent
36112d0e98
commit
81da189ed2
1 changed files with 1 additions and 2 deletions
|
|
@ -259,8 +259,7 @@ async function handleMarkdown(
|
|||
) {
|
||||
const content = file.buffer.toString('utf-8');
|
||||
|
||||
const { name, description, alwaysApply, invalidBooleans, parseError } =
|
||||
parseFrontmatter(content);
|
||||
const { name, description, alwaysApply, invalidBooleans, parseError } = parseFrontmatter(content);
|
||||
if (parseError) {
|
||||
return sendFrontmatterParseError(res, parseError);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue