Commit Graph
14 Commits
Author SHA1 Message Date
SMKRV 9f93f1ee18 Main changes:
Removed the validate_endpoint function
Optimized the validate_api_connection function
Simplified API connection verification
Preserved all error handling and retry logic
Improved exception handling
The integration should now correctly verify the
OpenAI API connection without false endpoint_not_available errors.
2024-11-19 17:33:27 +03:00
SMKRV 2bdef2b494 Main changes:
Created global SSL_CONTEXT at module level
Removed blocking create_default_context calls from async functions
Optimized aiohttp.ClientSession handling:
Using single connector with SSL context
Session is created once for all requests in validate_api_connection
Improved resource management:
Automatic session closure using context managers
More efficient connection handling
These changes should eliminate the blocking call warning and improve
overall code performance.
2024-11-19 16:33:30 +03:00
SMKRV 30aa894634 Release v1.0.6 2024-11-19 15:10:06 +03:00
SMKRV 398b2550a9 Release v1.0.5 2024-11-19 14:46:12 +03:00
SMKRV f1deaa2014 Release v1.0.4 2024-11-19 14:35:45 +03:00
SMKRV d899144149 Release v1.0.3 2024-11-19 14:00:33 +03:00
SMKRV 6ad67a5acf Release v1.0.1c 2024-11-19 12:45:26 +03:00
SMKRV b41df51f9c Reset to current local state 2024-11-18 11:46:08 +03:00
Sergey Makarov 9cda11ad40 new version 2024-11-18 00:43:28 +03:00
smkrvandGitHub a724606e0e Update config_flow.py 2024-11-15 01:38:57 +03:00
smkrvandGitHub 37e89dacc1 Update config_flow.py 2024-11-15 01:11:24 +03:00
smkrvandGitHub ef78a9da0d Update config_flow.py 2024-11-15 00:55:48 +03:00
smkrvandGitHub 0789f8c386 Update config_flow.py 2024-11-14 23:23:01 +03:00
smkrvandGitHub a255743526 Create config_flow.py 2024-11-14 18:34:38 +03:00