• v1.0.5 e687d2ac64

    v1.0.5 Stable

    kerem released this 2025-12-17 19:31:53 +03:00 | 162 commits to main since this release

    📅 Originally published on GitHub: Wed, 17 Dec 2025 16:37:42 GMT
    🏷️ Git tag created: Wed, 17 Dec 2025 16:31:53 GMT

    Added CORS support for browser-based clients and improved debug logging with application logs capture.

    New Features

    • CORS Middleware (#6): Full CORS support for browser-based clients and tools that send preflight OPTIONS requests. This fixes the 405 Method Not Allowed error for OPTIONS requests, enabling Obsidian plugins, browser extensions, and other web-based tools to work properly with the gateway.

    Improvements

    • Application Logs Capture: Debug logger now captures all application logs during request processing and saves them to app_logs.txt. In errors mode, logs are saved only for failed requests; in all mode, logs are saved for every request.

    • Uvicorn Logs Integration: Uvicorn access and error logs are now routed through loguru for consistent formatting.

    📝 Documentation

    • Updated README with DEBUG_MODE configuration details and new debug files description.

    ⚙️ Configuration

    Debug Files

    File Description
    request_body.json Incoming request from client (OpenAI format)
    kiro_request_body.json Request sent to Kiro API
    response_stream_raw.txt Raw stream from Kiro
    response_stream_modified.txt Transformed stream (OpenAI format)
    app_logs.txt Application logs for the request
    error_info.json Error details (only on errors)

    Full Changelog: https://github.com/jwadow/kiro-openai-gateway/compare/v1.0.4...v1.0.5

    Downloads