• Your Name's avatar
    feat: Add intelligent 429 rate limit handling and improve configuration · 0c895e05
    Your Name authored
    - Implement intelligent 429 rate limit parsing in providers
      - Parse Retry-After and X-RateLimit-Reset headers
      - Extract wait time from response body fields
      - Parse error messages for time patterns
      - Automatically disable providers for exact duration specified
    
    - Update aisbf.sh to read port from config file dynamically
      - Add get_port() function to parse aisbf.json
      - Remove hardcoded port 17765
      - Show port number when starting server
    
    - Implement SHA256 password hashing for dashboard
      - Store password as hash in aisbf.json
      - Hash passwords during login validation
      - Hash passwords when updating settings
    
    - Add templates to package distribution
      - Update setup.py to include dashboard templates
      - Update MANIFEST.in (already included templates)
      - Add aisbf.json to package
    
    - Update documentation
      - Add OpenAI-compatible v1 endpoints to README
      - Add dashboard endpoints documentation
      - Create comprehensive API_EXAMPLES.md with examples in cURL, Python, and JavaScript
    
    - Add GPL license headers to all template files
      - HTML templates in templates/ directory
      - JavaScript code in templates/base.html
    
    All changes maintain backward compatibility while adding new features.
    0c895e05
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
templates Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
.providers.json.swp Loading commit data...
AI.PROMPT Loading commit data...
API_EXAMPLES.md Loading commit data...
CHANGELOG.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DOCUMENTATION.md Loading commit data...
KIRO_GATEWAY.md Loading commit data...
KIRO_INTEGRATION.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...
test_google.sh Loading commit data...
test_proxy.sh Loading commit data...