1. 23 Aug, 2025 3 commits
    • nextime's avatar
      Improve JSON response validation and increase timeout to 45 seconds · c0d398f4
      nextime authored
      - Increase main timeout to 45 seconds as requested for complete response detection
      - Add strict JSON validation requiring both 'response' and 'id' keys
      - Implement isCompleteValidJson() function to ensure JSON completeness
      - Only return responses when JSON is complete and valid
      - Add enhanced logging for debugging partial matches
      - Prevent premature response extraction from incomplete JSON
      - Add safety timeout at 60 seconds to prevent hanging
      - Improve observer logic to only resolve on complete, valid JSON
      
      This ensures the API only serves responses when we have complete,
      valid JSON with both required keys, preventing partial or corrupted responses.
      c0d398f4
    • nextime's avatar
      Implement improved JSON-based response detection system · 41cc9c97
      nextime authored
      - Replace spy word detection with robust JSON-based response extraction
      - Add UUID-based unique request identification for better reliability
      - Implement comprehensive JSON parsing with error recovery mechanisms
      - Add support for partial JSON response extraction
      - Enhance error handling for malformed JSON responses
      - Improve detection of responses containing code blocks and special formatting
      - Better handling of dynamic content and progressive response loading
      - Update CHANGELOG.md to document breaking changes and improvements
      
      This addresses the core issue with complex HTML parsing by requesting
      structured JSON responses from chatbots, making response extraction
      much more reliable and accurate.
      41cc9c97
    • nextime's avatar
      Initial commit: Add OLProxy with comprehensive documentation and GPLv3 licensing · 862ec611
      nextime authored
      - Add olproxy.py: Python proxy server bridging web chatbots to Ollama API
      - Add README.md: Comprehensive documentation with logo, usage examples, and API reference
      - Add CHANGELOG.md: Structured changelog following Keep a Changelog format
      - Add LICENSE: GPLv3 license with copyright attribution to Stefy Lanza
      - Add olproxy.jpg: Project logo
      - All files include proper GPLv3 licensing and attribution
      862ec611