fix: code lint

This commit is contained in:
刘江波 2025-03-18 21:20:08 +08:00
parent 6703a8e9be
commit 43b5d6ac6a

View File

@ -139,7 +139,7 @@ const formatItem = (
} }
case BlockEnum.LLM: { case BlockEnum.LLM: {
res.vars = [ res.vars = [
...LLM_OUTPUT_STRUCT, ...LLM_OUTPUT_STRUCT,
...(['json_object', 'JSON'].includes(data.model?.completion_params?.response_format) ...(['json_object', 'JSON'].includes(data.model?.completion_params?.response_format)
? [{ ? [{