4.8.12 test (#2936)

* system config tip

* perf: prompt editor code

* perf: cookie tip
This commit is contained in:
Archer
2024-10-18 16:49:35 +08:00
committed by GitHub
parent 4aaf9bfeb0
commit 40f527a021
9 changed files with 162 additions and 174 deletions

View File

@@ -1,5 +1,5 @@
{
"author": "",
"author": "silencezhang7",
"version": "486",
"name": "BI图表功能",
"avatar": "core/workflow/template/BI",

View File

@@ -243,7 +243,7 @@ const toolChoice = async (props: ActionProps) => {
const arg: Record<string, any> = (() => {
try {
return json5.parse(
response?.choices?.[0]?.message?.tool_calls?.[0]?.function?.arguments || '{}'
response?.choices?.[0]?.message?.tool_calls?.[0]?.function?.arguments || ''
);
} catch (error) {
console.log(agentFunction.parameters);

View File

@@ -6,7 +6,7 @@
*
*/
import { useState, useRef, useTransition, useCallback } from 'react';
import { useState, useTransition } from 'react';
import { LexicalComposer } from '@lexical/react/LexicalComposer';
import { PlainTextPlugin } from '@lexical/react/LexicalPlainTextPlugin';
import { ContentEditable } from '@lexical/react/LexicalContentEditable';