发布

  • Improve error handling system and add Ollama debugging capabilities

    frostbyte_neo 发布于 2025-06-09 12:09:48 +00:00

    Improve error handling system and add Ollama debugging capabilities

    • Add comprehensive error categorization (CONNECTION_ERROR, MODEL_ERROR, etc.)

    • Create user-friendly error reports with clear explanations and help links

    • Add specific error patterns for common issues (max_workers, Ollama port switching)

    • Implement fallback error handling to ensure users always get useful feedback

    • Add detailed Ollama debugging logs to track port switching behavior

    • Enhanced ChatOllama configuration logging shows base_url is correctly set

    • Request/response logging reveals actual HTTP requests go to random ports

    • Confirms issue is in langchain-ollama library, not our configuration

    • Streamline error reports by removing verbose technical details

    • Focus on actionable information: error type, what happened, and how to get help

    • Include partial results display when research data was successfully collected

    • Add proper exception logging with full stack traces for debugging

    • Fix version check workflow to prevent infinite loops and permission issues

    • Install pre-commit hooks and apply code formatting standards

    • Remove accessibility tests from this PR (to be committed separately)

    下载附件