• Stefy Lanza (nextime / spora )'s avatar
    Add response structure logging in RequestHandler · 94f17378
    Stefy Lanza (nextime / spora ) authored
    - Log response type and full response object
    - Log response keys to verify structure
    - Check if 'choices' key exists
    - Verify choices is a list and not empty
    - Log choices[0] content if available
    - Add error logging for missing or malformed response structure
    
    This will help identify why clients are getting 'Cannot read properties
    of undefined (reading '0') errors when accessing response.choices[0]
    94f17378
Name
Last commit
Last update
..
__init__.py Loading commit data...
config.py Loading commit data...
handlers.py Loading commit data...
models.py Loading commit data...
providers.py Loading commit data...