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.

chore(*): Update style of thinking (#13319)

-LAN-1caa578771f7
diff --git a/api/core/model_runtime/model_providers/__base/large_language_model.py b/api/core/model_runtime/model_providers/__base/large_language_model.py
index 780a55681af..b45b2ca0256 100644
--- a/api/core/model_runtime/model_providers/__base/large_language_model.py
+++ b/api/core/model_runtime/model_providers/__base/large_language_model.py
@@ -31,7 +31,7 @@ from core.model_runtime.model_providers.__base.ai_model import AIModel
logger = logging.getLogger(__name__)
HTML_THINKING_TAG = (
- '<details style="color:gray;background-color: #f5f5f5;padding: 8px;border-radius: 4px;" open> '
+ '<details style="color:gray;background-color: #f8f8f8;padding: 8px;border-radius: 4px;" open> '
"<summary> Thinking... </summary>"
)
diff --git a/web/app/styles/markdown.scss b/web/app/styles/markdown.scss
index 214d8d27826..92331505ec1 100644
--- a/web/app/styles/markdown.scss
+++ b/web/app/styles/markdown.scss
@@ -47,7 +47,7 @@
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
- margin: 0;
+ margin: 4px 0 0 0;
color: #101828;
background-color: var(--color-canvas-default);
font-size: 14px;