• Stefy Lanza (nextime / spora )'s avatar
    Add comprehensive debug logging for provider state and autoselect model selection · 3ffc2bcf
    Stefy Lanza (nextime / spora ) authored
    Provider State Logging (providers.py):
    - Add detailed logging when provider failures are recorded
    - Show failure count and remaining failures before disable
    - Log provider disable events with cooldown period details
    - Log provider re-enable events after successful requests
    - Track and display previous failure counts
    
    Autoselect Model Selection Logging (handlers.py):
    - Add detailed logging for autoselect model selection process
    - Show available models and their descriptions
    - Display user prompt information and length
    - Log AI model selection request and response
    - Show model validation and fallback logic
    - Indicate whether selection was AI-selected or fallback
    - Add logging for both streaming and non-streaming requests
    - Display final model choice with selection method
    3ffc2bcf
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...