Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: config not exists (#2513)

crazywoolacad6e6624f25
diff --git a/web/app/components/base/chat/chat/answer/operation.tsx b/web/app/components/base/chat/chat/answer/operation.tsx
index 1f7c57ae754..eb5dead6578 100644
--- a/web/app/components/base/chat/chat/answer/operation.tsx
+++ b/web/app/components/base/chat/chat/answer/operation.tsx
@@ -74,7 +74,7 @@ const Operation: FC<OperationProps> = ({
)
}
- {(!isOpeningStatement && config?.text_to_speech.enabled) && (
+ {(!isOpeningStatement && config?.text_to_speech?.enabled) && (
<AudioBtn
value={content}
className='hidden group-hover:block'