1. 08 Feb, 2026 37 commits
  2. 07 Feb, 2026 3 commits
    • Stefy Lanza (nextime / spora )'s avatar
      Update wrapper script · d9772366
      Stefy Lanza (nextime / spora ) authored
      d9772366
    • Stefy Lanza (nextime / spora )'s avatar
      Fix effective_context variable scope and calculate total tokens for streaming responses · 8f07c660
      Stefy Lanza (nextime / spora ) authored
      - Pass effective_context as parameter to stream_generator functions
      - Update _create_streaming_response signature to accept effective_context
      - Update all calls to _create_streaming_response to pass effective_context
      - Track accumulated response text for token counting in streaming
      - Calculate completion tokens for Google responses (since Google doesn't provide them)
      - Calculate completion tokens for non-Google providers when they don't provide token counts
      - Include prompt_tokens, completion_tokens, total_tokens, and effective_context in final chunk
      - Fixes 'name effective_context is not defined' error in streaming responses
      - Fixes issue where streaming responses had null token counts
      8f07c660
    • Stefy Lanza (nextime / spora )'s avatar
      Enable WAL mode for concurrent database access · d9cdab8b
      Stefy Lanza (nextime / spora ) authored
      - Enable PRAGMA journal_mode=WAL for better concurrent access
      - Set PRAGMA busy_timeout=5000 (5 seconds) for concurrent access
      - WAL mode allows multiple readers and one writer simultaneously
      d9cdab8b