ソースを参照

feat: Auto-associate variables in Jinja editor mode (#24561)

tags/1.8.0
17hz 2ヶ月前
コミット
8af2ae973f
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      web/app/components/workflow/nodes/llm/use-config.ts

+ 1
- 1
web/app/components/workflow/nodes/llm/use-config.ts ファイルの表示

@@ -246,7 +246,7 @@ const useConfig = (id: string, payload: LLMNodeType) => {
}, [inputs, setInputs])

const handlePromptChange = useCallback((newPrompt: PromptItem[] | PromptItem) => {
const newInputs = produce(inputs, (draft) => {
const newInputs = produce(inputRef.current, (draft) => {
draft.prompt_template = newPrompt
})
setInputs(newInputs)

読み込み中…
キャンセル
保存