• Stefy Lanza (nextime / spora )'s avatar
    Add comprehensive debug logging and fix Ollama provider handler · c99aa5ba
    Stefy Lanza (nextime / spora ) authored
    - Add detailed debug logging throughout the codebase to track model and provider selection
    - Fix OllamaProviderHandler to accept optional api_key parameter for cloud models
    - Add logging in main.py, handlers.py, providers.py, and config.py
    - Add catch-all endpoint for invalid routes with helpful error messages
    - Create DEBUG_GUIDE.md with comprehensive documentation
    - Enhance error messages to show available providers/rotations/autoselect
    
    Debug logging now shows:
    - Request path and provider ID
    - Available configurations
    - Provider config and handler selection
    - Model selection process
    - Rate limiting application
    - Request/response details
    
    This helps diagnose issues with model and provider selection.
    c99aa5ba
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
.gitignore Loading commit data...
.providers.json.swp Loading commit data...
AI.PROMPT Loading commit data...
CHANGELOG.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
PYPI.md Loading commit data...
README.md Loading commit data...
aisbf.sh Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
cli.py Loading commit data...
main.py Loading commit data...
pyproject.toml Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
start_proxy.sh Loading commit data...