mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
fix: detectCode bug
This commit is contained in:
parent
950b8f3f1e
commit
95bad60f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ const detectCode = async (input) => {
|
|||
return (await Promise.all(output)).join('');
|
||||
} catch (e) {
|
||||
console.log('Error in detectCode function\n', e);
|
||||
return text;
|
||||
return input;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue