yangdx
|
506e39e14e
|
Enhance OpenAI API error handling and logging for better reliability
• Add InvalidResponseError custom exception
• Improve error logging for API failures
• Add empty response content validation
• Add more detailed debug logging info
• Add retry for invalid response cases
|
2025-02-06 19:42:57 +08:00 |
|
yangdx
|
290a4d5ec0
|
Fix linting
|
2025-02-06 16:24:02 +08:00 |
|
yangdx
|
eb5f57e989
|
fix: Fix potential mutable default parameter issue
|
2025-02-06 14:46:07 +08:00 |
|
yangdx
|
24effb127d
|
Improve error handling and response consistency in streaming endpoints
• Add error message forwarding to client
• Handle stream cancellations gracefully
• Add logging for stream errors
• Ensure clean stream termination
• Add try-catch in OpenAI streaming
|
2025-02-05 10:44:48 +08:00 |
|
Saifeddine ALOUI
|
06c9e4e454
|
Fixed missing imports bug and fixed linting
|
2025-01-25 00:55:07 +01:00 |
|
Saifeddine ALOUI
|
34018cb1e0
|
Separated llms from the main llm.py file and fixed some deprication bugs
|
2025-01-25 00:11:00 +01:00 |
|