mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-09 08:44:45 +08:00
docs: add comprehensive debugging guide and improve troubleshooting documentation (#688)
This commit addresses issue #682 by providing clear documentation on how to view complete model output and debug DeerFlow workflows. Changes: - Add new DEBUGGING.md guide with detailed instructions for: - Viewing complete model output - Enabling debug logging - Configuring LangChain verbose logging - Setting up LangSmith tracing - Docker Compose debugging tips - Common troubleshooting scenarios - Update .env.example with: - Clearer comments for DEBUG setting - Documentation for LANGCHAIN_VERBOSE and LANGCHAIN_DEBUG options - Improved LangSmith configuration guidance - Enhance docs/FAQ.md with: - How to view complete model output - How to enable debug logging - How to troubleshoot common issues - Links to the new debugging guide These documentation improvements make it easier for users to: - Debug workflow issues - View LLM prompts and responses - Troubleshoot deployment problems - Monitor performance with LangSmith Fixes #682
This commit is contained in:
12
.env.example
12
.env.example
@@ -1,4 +1,6 @@
|
||||
# Application Settings
|
||||
# Set to True to enable debug-level logging (shows detailed LLM prompts and responses)
|
||||
# Recommended for development and troubleshooting
|
||||
DEBUG=True
|
||||
APP_ENV=development
|
||||
|
||||
@@ -82,12 +84,20 @@ VOLCENGINE_TTS_ACCESS_TOKEN=xxx
|
||||
# VOLCENGINE_TTS_CLUSTER=volcano_tts # Optional, default is volcano_tts
|
||||
# VOLCENGINE_TTS_VOICE_TYPE=BV700_V2_streaming # Optional, default is BV700_V2_streaming
|
||||
|
||||
# Option, for langsmith tracing and monitoring
|
||||
# Optional, for langsmith tracing and monitoring
|
||||
# Highly recommended for production debugging and performance monitoring
|
||||
# Get your API key from https://smith.langchain.com/
|
||||
# LANGSMITH_TRACING=true
|
||||
# LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
|
||||
# LANGSMITH_API_KEY="xxx"
|
||||
# LANGSMITH_PROJECT="xxx"
|
||||
|
||||
# Optional, LangChain verbose logging
|
||||
# Enable these to see detailed LLM interactions in console/logs
|
||||
# Useful for debugging but can be very verbose
|
||||
# LANGCHAIN_VERBOSE=true
|
||||
# LANGCHAIN_DEBUG=true
|
||||
|
||||
# [!NOTE]
|
||||
# For model settings and other configurations, please refer to `docs/configuration_guide.md`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user