diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 845895a..d30116d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,11 +1,10 @@
-
+
-
@@ -78,13 +77,6 @@
1680804787304
-
- 1723920962711
-
-
-
- 1723920962711
-
1724077502402
@@ -421,7 +413,14 @@
1735161926243
-
+
+ 1735475357282
+
+
+
+ 1735475357282
+
+
@@ -463,7 +462,6 @@
-
@@ -488,6 +486,7 @@
-
+
+
\ No newline at end of file
diff --git a/GlobalVariable.py b/GlobalVariable.py
index 894ec63..b7f1931 100644
--- a/GlobalVariable.py
+++ b/GlobalVariable.py
@@ -830,4 +830,15 @@ mysy_voice_instruction_collection_action = {
Cette variable defini ou les messages vocaux utilisés par le système
sont stocké
"""
-SYSTEM_VOICE_MESSAGES_LOCATION = "./admin_voices_messages/"
\ No newline at end of file
+SYSTEM_VOICE_MESSAGES_LOCATION = "./admin_voices_messages/"
+
+
+"""
+Confirmation d'un ordre de vocal
+"""
+VOICE_INSTRUCTION_CONFIRMATION = ["confirme", "confimer", "conformation"]
+
+"""
+Annulation d'un ordre de vocal
+"""
+VOICE_INSTRUCTION_ANNULATION = ["annuler", "annulle", "refus", "refuser"]
\ No newline at end of file
diff --git a/Log/log_file.log b/Log/log_file.log
index f7cefd1..9a299e4 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -2945127,3 +2945127,2096 @@ INFO:root:2024-12-29 13:27:21.493113 : ++ FLASK PORT 5001 ++
INFO:root:2024-12-29 13:27:21.493113 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 16:28:20.558418 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 16:28:20.558418 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 16:28:20.558418 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 16:28:20.559419 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 16:28:20.559419 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 16:28:39.234532 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 16:28:39.234532 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 16:28:39.234532 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 16:28:39.234532 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 16:28:39.234532 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 17:07:37.163754 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.168199 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.171202 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.175276 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.177285 : Le token partner est vide
+INFO:root:2024-12-29 17:07:37.179544 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.183771 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.186409 : Le token partner est vide
+INFO:root:2024-12-29 17:07:37.187437 : La session de connexion n'est pas valide
+INFO:root:2024-12-29 17:07:37.187437 : La session de connexion n'est pas valide
+INFO:root:2024-12-29 17:07:37.188795 : La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:37.193219 : La session de connexion n'est pas valide
+INFO:root:2024-12-29 17:07:37.194544 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:37.198032 : La session de connexion n'est pas valide
+INFO:root:2024-12-29 17:07:37.199429 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:37.204860 : La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:38.193174 : getRecodedImage - Impossible de récupérer le recid du user
+INFO:root:2024-12-29 17:07:38.193174 : getRecodedImage - Impossible de récupérer le recid du user
+INFO:root:2024-12-29 17:07:38.193174 : get_partner_account - La session de connexion n'est pas valide
+INFO:root:2024-12-29 17:07:38.193174 : get_partner_account - La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.333365 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.494976 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.498970 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.501735 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.508012 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.512286 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.520686 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.534594 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.542094 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.550775 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.563300 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.655164 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.661155 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.669306 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.673833 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.681337 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:40.692465 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.704659 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.712246 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.719260 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:40.728918 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.684229 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:48.688231 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:48.692750 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.699745 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:48.703753 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:48.708745 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.714331 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.721330 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.726333 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:48.733329 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.741331 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.752330 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.770332 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:07:48.800602 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.819146 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.832552 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.843828 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:root:2024-12-29 17:07:48.846250 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.875651 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:48.884567 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:48] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:07:54.886891 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:07:54] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:08:02.908693 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:08:03 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'20'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'803'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_f42cfc996583fbe614155735c2651c22'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=ehXHszH_66J5D6ZC_rYjmMlhalLxXboquHKcyOIXX28-1735488483-1.0.1.1-Rkivqc0DUqQbKmbOKwPxlBUIpl8g8vs8SMo0csxcJS4SqbGC5hHLg_IYheoj0OkJ.Sa2qn_O6aZ26U6k4spNWw; path=/; expires=Sun, 29-Dec-24 16:38:03 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=5NCdZtz25Vi_c4A5TOW80dlkvp.5R9RL4Z1zbX3nJrc-1735488483355-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b0be70de1ebb0-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 16:08:03 GMT'), ('content-type', 'application/json'), ('content-length', '20'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '803'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_f42cfc996583fbe614155735c2651c22'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=ehXHszH_66J5D6ZC_rYjmMlhalLxXboquHKcyOIXX28-1735488483-1.0.1.1-Rkivqc0DUqQbKmbOKwPxlBUIpl8g8vs8SMo0csxcJS4SqbGC5hHLg_IYheoj0OkJ.Sa2qn_O6aZ26U6k4spNWw; path=/; expires=Sun, 29-Dec-24 16:38:03 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=5NCdZtz25Vi_c4A5TOW80dlkvp.5R9RL4Z1zbX3nJrc-1735488483355-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b0be70de1ebb0-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_f42cfc996583fbe614155735c2651c22
+INFO:root:2024-12-29 17:08:04.121425 : add_class - Creation formation : Le champ 'titre' n'est pas autorisé, Creation formation annulée
+INFO:root:2024-12-29 17:08:04.122963 : voice_instruction_make_instruction -too many values to unpack (expected 2) - Line : 782
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Erreur - Impossible de réaliser : 'voice_instruction_make_instruction' ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:08:05 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1404'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-6689858b9b-qztwn'), (b'x-envoy-upstream-service-time', b'1391'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_ca671e6738c13b9d061b3fc7ac4419cd'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b0bed6b9aebb0-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:08:05 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1404', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-6689858b9b-qztwn', 'x-envoy-upstream-service-time': '1391', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_ca671e6738c13b9d061b3fc7ac4419cd', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b0bed6b9aebb0-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_ca671e6738c13b9d061b3fc7ac4419cd
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:08:06] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:11:19.819987 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:11:19.819987 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:11:19.819987 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:11:19.819987 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:11:19.821344 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:12:50.620462 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:12:50.621459 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:12:50.621459 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:12:50.621459 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:12:50.621459 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:13:02.995390 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:13:02.995390 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:13:02.995390 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:13:02.995390 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:13:02.995390 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:13:42.727918 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:13:42.728918 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:13:42.728918 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:13:42.728918 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:13:42.728918 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 17:13:42.772233 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:13:42] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:13:51.740411 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:13:51 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'20'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'595'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_b124b192f652bb36d769e0ba728fb061'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=SN8YFwFh48xSqaE50zW8rRWHxFyjIvqkkKjsoIwwnmI-1735488831-1.0.1.1-LmKSfYuMlrVX5WOHQZ9EMenEqZhmuxL8OfJ7j0DueQtEhSD5QweOwa1nR.Lf0lHA_dmen3AeTcIMsEhu3ZMRSQ; path=/; expires=Sun, 29-Dec-24 16:43:51 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=2XTNuSswa.1Qor7YpIhokTV.waFepM738kFTzQRjRRI-1735488831889-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b146a9c209e6c-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 16:13:51 GMT'), ('content-type', 'application/json'), ('content-length', '20'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '595'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_b124b192f652bb36d769e0ba728fb061'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=SN8YFwFh48xSqaE50zW8rRWHxFyjIvqkkKjsoIwwnmI-1735488831-1.0.1.1-LmKSfYuMlrVX5WOHQZ9EMenEqZhmuxL8OfJ7j0DueQtEhSD5QweOwa1nR.Lf0lHA_dmen3AeTcIMsEhu3ZMRSQ; path=/; expires=Sun, 29-Dec-24 16:43:51 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=2XTNuSswa.1Qor7YpIhokTV.waFepM738kFTzQRjRRI-1735488831889-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b146a9c209e6c-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_b124b192f652bb36d769e0ba728fb061
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:13:52 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'20'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'500'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_69411a97ce14f561fad5a9b597aa8043'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b146f68769e6c-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:13:52 GMT', 'content-type': 'application/json', 'content-length': '20', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '500', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_69411a97ce14f561fad5a9b597aa8043', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b146f68769e6c-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_69411a97ce14f561fad5a9b597aa8043
+INFO:root:2024-12-29 17:13:54.685062 : add_class - Creation formation : Le champ 'titre' n'est pas autorisé, Creation formation annulée
+INFO:root:2024-12-29 17:13:54.687061 : voice_instruction_make_instruction -too many values to unpack (expected 2) - Line : 800
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Erreur - Impossible de réaliser : 'voice_instruction_make_instruction' ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:13:55 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1686'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-6c54968c78-gk6nj'), (b'x-envoy-upstream-service-time', b'1670'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_cc89419b6f1dade3b747747e47147b11'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b147c7c699e6c-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:13:55 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1686', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-6c54968c78-gk6nj', 'x-envoy-upstream-service-time': '1670', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_cc89419b6f1dade3b747747e47147b11', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b147c7c699e6c-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_cc89419b6f1dade3b747747e47147b11
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:13:57] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:16:20.232164 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:16:20.232164 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:16:20.232164 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:16:20.232164 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:16:20.232164 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:29:05.960477 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:29:05.960477 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:29:05.960477 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:29:05.960477 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:29:05.961477 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:29:16.593132 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:29:16.593132 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:29:16.593132 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:29:16.593132 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:29:16.593132 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 17:29:16.890883 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:29:16] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:29:25.425017 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:29:28 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'34'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'2885'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_386ce16ffdab5fdeb3fde16151e91d96'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=NIW2H__jZlAYY3aXEX1qSMdbF5rYxZjoUTmnT6iAjOo-1735489768-1.0.1.1-eCM7pM7c_4Qjbh3CVuGkjEqeLJQh6ZwHgiE0leYun4nvO_JU4IN_OjYKM9.pAEaLKQ2uNzrjFgUNcPIwR1CHag; path=/; expires=Sun, 29-Dec-24 16:59:28 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=mwgkwF2SyUikz1ywwS6P0TLd30RaxEKPiwE31I34Y9U-1735489768019-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b2b364e536ff6-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 16:29:28 GMT'), ('content-type', 'application/json'), ('content-length', '34'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '2885'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_386ce16ffdab5fdeb3fde16151e91d96'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=NIW2H__jZlAYY3aXEX1qSMdbF5rYxZjoUTmnT6iAjOo-1735489768-1.0.1.1-eCM7pM7c_4Qjbh3CVuGkjEqeLJQh6ZwHgiE0leYun4nvO_JU4IN_OjYKM9.pAEaLKQ2uNzrjFgUNcPIwR1CHag; path=/; expires=Sun, 29-Dec-24 16:59:28 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=mwgkwF2SyUikz1ywwS6P0TLd30RaxEKPiwE31I34Y9U-1735489768019-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b2b364e536ff6-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_386ce16ffdab5fdeb3fde16151e91d96
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:29:32 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'31'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'4313'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_a6a1aef56419e267a9845452481e2fde'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b2b4ac8cc6ff6-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:29:32 GMT', 'content-type': 'application/json', 'content-length': '31', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '4313', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_a6a1aef56419e267a9845452481e2fde', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b2b4ac8cc6ff6-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_a6a1aef56419e267a9845452481e2fde
+INFO:root:2024-12-29 17:29:34.340485 : add_class - Creation formation : Le champ 'titre' n'est pas autorisé, Creation formation annulée
+INFO:root:2024-12-29 17:29:34.342517 : voice_instruction_make_instruction -too many values to unpack (expected 2) - Line : 814
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Erreur - Impossible de réaliser : 'voice_instruction_make_instruction' ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:29:34 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1230'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-85fffc8577-59pcc'), (b'x-envoy-upstream-service-time', b'1206'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_70b0f90548c44000fa73b626fa06277a'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b2b6d2b3a6ff6-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:29:34 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1230', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-85fffc8577-59pcc', 'x-envoy-upstream-service-time': '1206', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_70b0f90548c44000fa73b626fa06277a', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b2b6d2b3a6ff6-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_70b0f90548c44000fa73b626fa06277a
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:29:36] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:35:15.020835 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:35:15] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:35:26.650011 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:35:27 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'20'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'889'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_c2dc378df9f0134e798512a435453adf'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b3408bed02a4d-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:35:27 GMT', 'content-type': 'application/json', 'content-length': '20', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '889', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_c2dc378df9f0134e798512a435453adf', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b3408bed02a4d-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_c2dc378df9f0134e798512a435453adf
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:35:29 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'20'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1029'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_ac66518bed52050f27330367294b1230'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b3411e83a2a4d-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:35:29 GMT', 'content-type': 'application/json', 'content-length': '20', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1029', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_ac66518bed52050f27330367294b1230', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b3411e83a2a4d-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_ac66518bed52050f27330367294b1230
+INFO:root:2024-12-29 17:35:29.790851 : add_class - Creation formation : Le champ 'titre' n'est pas autorisé, Creation formation annulée
+INFO:root:2024-12-29 17:35:29.793843 : voice_instruction_make_instruction -too many values to unpack (expected 2) - Line : 814
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Erreur - Impossible de réaliser : 'voice_instruction_make_instruction' ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:35:30 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1623'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-5f98989b75-pg7qv'), (b'x-envoy-upstream-service-time', b'1607'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_358659fcffa080475c2c82dbfaf61f9f'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b341aba102a4d-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:35:30 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1623', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-5f98989b75-pg7qv', 'x-envoy-upstream-service-time': '1607', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_358659fcffa080475c2c82dbfaf61f9f', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b341aba102a4d-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_358659fcffa080475c2c82dbfaf61f9f
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:35:32] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:40:33.142656 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:40:33.142656 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:40:33.142656 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:40:33.142656 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:40:33.142656 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:42:02.458271 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:42:02.458271 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:42:02.458271 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:42:02.458271 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:42:02.458271 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:45:50.476235 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:45:50.477330 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:45:50.477330 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:45:50.477330 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:45:50.477330 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:46:14.988096 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:46:14.988096 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:46:14.988096 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:46:14.988096 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:46:14.988096 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:46:47.948022 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:46:47.949055 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:46:47.949055 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:46:47.949055 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:46:47.949055 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 17:46:47.990723 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:46:48] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:46:59.768666 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:47:00 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'11'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1215'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_5857e02d81c2a9b88e30306b6bb98ba3'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=ehash5j3nDooqstxX24DX.0538JPa.1vAKY59u6A8Qc-1735490820-1.0.1.1-duWxz8_ou_hIAW3Kp6.Pr3HbPaHAwMc0BTHAYn.mHVpshiNYaELr0pvf.h2TxjzmtKeWYa9UfcZuzcK_bXSNew; path=/; expires=Sun, 29-Dec-24 17:17:00 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=vCC6Fj5bjcVkS6.wiiNyOnZP895VfqySuBh116k5OAY-1735490820683-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b44f3fe6b9ed0-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 16:47:00 GMT'), ('content-type', 'application/json'), ('content-length', '11'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '1215'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_5857e02d81c2a9b88e30306b6bb98ba3'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=ehash5j3nDooqstxX24DX.0538JPa.1vAKY59u6A8Qc-1735490820-1.0.1.1-duWxz8_ou_hIAW3Kp6.Pr3HbPaHAwMc0BTHAYn.mHVpshiNYaELr0pvf.h2TxjzmtKeWYa9UfcZuzcK_bXSNew; path=/; expires=Sun, 29-Dec-24 17:17:00 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=vCC6Fj5bjcVkS6.wiiNyOnZP895VfqySuBh116k5OAY-1735490820683-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b44f3fe6b9ed0-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_5857e02d81c2a9b88e30306b6bb98ba3
+INFO:root:2024-12-29 17:47:02.463136 : mysy_openai_get_voice_file -[Errno 2] No such file or directory: " Je n'ai pas compris l'instruction. merci de répéter " - ERRORRRR AT Line : 276
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:47:02] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:50:06.156066 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:50:06.156066 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:50:06.156066 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:50:06.156066 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:50:06.156066 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 17:50:06.945042 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:50:06] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 17:50:18.415018 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:50:19 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'40'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'773'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_9a19654b6f022d418d4594747d039ae1'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=8boEg7AACv2WUJJWNkguEp9MbHEkmvUbTMd1_xcdhO4-1735491019-1.0.1.1-KbrkwVTfgxe1fQZDrul1PbmKQmX879XCV3FeG4W9bbAEkKagzgrxSR5RsNhzDpVpPlyXdjrlD4h3u348yQB82Q; path=/; expires=Sun, 29-Dec-24 17:20:19 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=iNMUlxgyTNY2cu2j4fBAFCKJ7HTgMNbYHkFGCN8Y9Xo-1735491019113-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b49ce78369ec2-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 16:50:19 GMT'), ('content-type', 'application/json'), ('content-length', '40'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '773'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_9a19654b6f022d418d4594747d039ae1'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=8boEg7AACv2WUJJWNkguEp9MbHEkmvUbTMd1_xcdhO4-1735491019-1.0.1.1-KbrkwVTfgxe1fQZDrul1PbmKQmX879XCV3FeG4W9bbAEkKagzgrxSR5RsNhzDpVpPlyXdjrlD4h3u348yQB82Q; path=/; expires=Sun, 29-Dec-24 17:20:19 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=iNMUlxgyTNY2cu2j4fBAFCKJ7HTgMNbYHkFGCN8Y9Xo-1735491019113-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b49ce78369ec2-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_9a19654b6f022d418d4594747d039ae1
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 16:50:20 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1142'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-7d46678889-bncsq'), (b'x-envoy-upstream-service-time', b'1129'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_743007d9a5e3f5347457139bafd5f75b'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b49d5c81c9ec2-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 16:50:20 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1142', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-7d46678889-bncsq', 'x-envoy-upstream-service-time': '1129', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_743007d9a5e3f5347457139bafd5f75b', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b49d5c81c9ec2-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_743007d9a5e3f5347457139bafd5f75b
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:50:21] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:51:05.433009 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:51:05.433009 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:51:05.433009 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:51:05.433009 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:51:05.433009 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 17:58:48.559206 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 17:58:48.560236 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 17:58:48.560236 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 17:58:48.560236 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 17:58:48.560236 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 17:58:52.299954 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 17:58:52.941846 : mysy_openai_voice_to_text -'token' - ERRORRRR AT Line : 188
+INFO:root:2024-12-29 17:58:52.943839 : mysy_openai_instruction_collection_confirmation_texte -'False' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 90
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 17:58:52] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 18:00:38.898040 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 18:00:38.898040 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 18:00:38.898040 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 18:00:38.898040 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 18:00:38.898040 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 18:00:47.610775 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:00:47.613794 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:00:47.617064 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:00:47.620387 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:00:47.626141 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:00:47.630184 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.637734 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.645805 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.652631 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:00:47.660426 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.669382 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.681013 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.709952 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.799252 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.811603 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:47.823660 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:47] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:00:48.380087 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:root:2024-12-29 18:00:48.380087 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:root:2024-12-29 18:00:48.380087 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:root:2024-12-29 18:00:48.380087 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:48] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:48] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:48] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:00:48] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:01:05.202284 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:01:05] "[35m[1mPOST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1[0m" 500 -
+INFO:root:2024-12-29 18:03:25.879371 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:25.882925 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:25] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:25.887256 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:25] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:25.891122 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:25] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:25.899529 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:25] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:35.932984 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:35.937242 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:35.939531 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:35.944342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:35.952407 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:35] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:35.958212 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:35] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:35] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:35.968355 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:35.972470 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:35] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:35.978535 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:35.986367 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:35] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:35] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:35.999329 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:36.005834 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:36.027830 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:36.042259 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:36.057592 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:03:36.057592 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:36.069814 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:36.079736 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:36.116789 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:36.125235 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:36] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:44.637221 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:03:44] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:03:57.684430 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:04:02 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'4583'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_8af2e5b1fd2168ac8386f3c512fcc79e'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=Rss2tAaLWFUPo58ydgjl66aM_5Jtz5Pdv07eOWEOXhQ-1735491842-1.0.1.1-UP9l2_bYUrOk4EqreXkp9zdTmxFiJV1EGi.szQ809b2MWHlPmB7Y_507oaiLtbL7hpcTHA3xN28bSYWUdovjew; path=/; expires=Sun, 29-Dec-24 17:34:02 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=qM1o0F9XdRwz7NT4Cnv00OaJVdDshbdXMvYpoYY98KI-1735491842241-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b5dcf8e5cd16e-CDG'), (b'Content-Encoding', b'br'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 17:04:02 GMT'), ('content-type', 'application/json'), ('transfer-encoding', 'chunked'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '4583'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_8af2e5b1fd2168ac8386f3c512fcc79e'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=Rss2tAaLWFUPo58ydgjl66aM_5Jtz5Pdv07eOWEOXhQ-1735491842-1.0.1.1-UP9l2_bYUrOk4EqreXkp9zdTmxFiJV1EGi.szQ809b2MWHlPmB7Y_507oaiLtbL7hpcTHA3xN28bSYWUdovjew; path=/; expires=Sun, 29-Dec-24 17:34:02 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=qM1o0F9XdRwz7NT4Cnv00OaJVdDshbdXMvYpoYY98KI-1735491842241-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b5dcf8e5cd16e-CDG'), ('content-encoding', 'br'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_8af2e5b1fd2168ac8386f3c512fcc79e
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:04:04 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1872'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-5f98989b75-5qz6z'), (b'x-envoy-upstream-service-time', b'1857'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_70bd6ddd8e0e085368ecbceff0517f1a'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b5deebbcdd16e-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:04:04 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1872', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-5f98989b75-5qz6z', 'x-envoy-upstream-service-time': '1857', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_70bd6ddd8e0e085368ecbceff0517f1a', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b5deebbcdd16e-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_70bd6ddd8e0e085368ecbceff0517f1a
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:04:05] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:05:09.188692 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:05:09] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:05:22.284699 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:05:23 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'17'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1391'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_23f4a7f1ad1fd66fb27a982b2b4cc92a'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b5fde399bd081-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:05:23 GMT', 'content-type': 'application/json', 'content-length': '17', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1391', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_23f4a7f1ad1fd66fb27a982b2b4cc92a', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b5fde399bd081-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_23f4a7f1ad1fd66fb27a982b2b4cc92a
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:05:24 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1389'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-6646c6d4d-9mkfr'), (b'x-envoy-upstream-service-time', b'1348'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_326d0d4155b6fde698816a852f93a684'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b5fe94b91d081-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:05:24 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1389', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-6646c6d4d-9mkfr', 'x-envoy-upstream-service-time': '1348', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_326d0d4155b6fde698816a852f93a684', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b5fe94b91d081-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_326d0d4155b6fde698816a852f93a684
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:05:26] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:06:28.258940 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:06:28] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:06:42.894816 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:06:44 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'20'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1191'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_5e6e63cad99b3289976355e552ad9428'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b61d7ccbc0210-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:06:44 GMT', 'content-type': 'application/json', 'content-length': '20', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1191', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_5e6e63cad99b3289976355e552ad9428', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b61d7ccbc0210-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_5e6e63cad99b3289976355e552ad9428
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:06:46 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1494'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-5f98989b75-l96dx'), (b'x-envoy-upstream-service-time', b'1436'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_962baaeb74bae1ed81427225f499cb34'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b61e56b9e0210-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:06:46 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1494', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-5f98989b75-l96dx', 'x-envoy-upstream-service-time': '1436', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_962baaeb74bae1ed81427225f499cb34', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b61e56b9e0210-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_962baaeb74bae1ed81427225f499cb34
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:06:48] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:07:41.443648 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:07:41] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:07:55.520072 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:07:56 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'22'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'961'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_89d65de516e6c9dfc98e8932e050c6f8'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b639bda837030-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:07:56 GMT', 'content-type': 'application/json', 'content-length': '22', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '961', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_89d65de516e6c9dfc98e8932e050c6f8', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b639bda837030-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_89d65de516e6c9dfc98e8932e050c6f8
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:07:58 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1847'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-5f98989b75-b7xrx'), (b'x-envoy-upstream-service-time', b'1790'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_77db6b8b4cd4b631229ea892934f6a8f'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b63a57c8e7030-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:07:58 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1847', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-5f98989b75-b7xrx', 'x-envoy-upstream-service-time': '1790', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_77db6b8b4cd4b631229ea892934f6a8f', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b63a57c8e7030-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_77db6b8b4cd4b631229ea892934f6a8f
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:08:00] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:09:40.973234 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:09:40] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:09:41.069189 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:09:41] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:09:52.592330 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:09:53 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'19'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1109'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_a14a2741812c5db8a327be20d46f2dde'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b66786859f0ab-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:09:53 GMT', 'content-type': 'application/json', 'content-length': '19', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1109', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_a14a2741812c5db8a327be20d46f2dde', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b66786859f0ab-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_a14a2741812c5db8a327be20d46f2dde
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " L'instruction a été annulée", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:09:55 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1229'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-966fb9c65-8pfdr'), (b'x-envoy-upstream-service-time', b'1219'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_4190c219febfdf3892c3a21d4b2037e2'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b66842cdaf0ab-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:09:55 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1229', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-966fb9c65-8pfdr', 'x-envoy-upstream-service-time': '1219', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_4190c219febfdf3892c3a21d4b2037e2', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b66842cdaf0ab-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_4190c219febfdf3892c3a21d4b2037e2
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:09:56] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:11:56.921722 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:11:56.926622 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:11:56.931049 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:11:56] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:11:56.935585 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:11:56] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:11:56] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:11:56.951968 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:11:56] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.217401 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.222033 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.226896 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.231339 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.236795 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.241757 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.253225 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.259042 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.264358 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.272693 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.288430 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.294390 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:12:03.312575 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.322152 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:03.348583 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:03] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:07.512679 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:07] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:23.470929 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:12:26 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'22'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1521'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_862c6024a6c24aa7be1730b1f7fe1657'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b6a266a08f0cf-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:12:26 GMT', 'content-type': 'application/json', 'content-length': '22', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1521', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_862c6024a6c24aa7be1730b1f7fe1657', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b6a266a08f0cf-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_862c6024a6c24aa7be1730b1f7fe1657
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:12:28 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1873'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-68478d78f5-82fjm'), (b'x-envoy-upstream-service-time', b'1848'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_e57ce473f72512281481ec55fd259711'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b6a3c8bbaf0cf-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:12:28 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1873', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-68478d78f5-82fjm', 'x-envoy-upstream-service-time': '1848', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_e57ce473f72512281481ec55fd259711', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b6a3c8bbaf0cf-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_e57ce473f72512281481ec55fd259711
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:29] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:44.689237 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:12:44] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:12:57.683769 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:12:59 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'19'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'2118'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_3a453a1811e472c228a2cb4504c36459'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b6afc2f6f99a8-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:12:59 GMT', 'content-type': 'application/json', 'content-length': '19', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '2118', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_3a453a1811e472c228a2cb4504c36459', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b6afc2f6f99a8-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_3a453a1811e472c228a2cb4504c36459
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:13:02 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1747'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-68b97664cf-2mh9m'), (b'x-envoy-upstream-service-time', b'1645'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_269090048467cb0c10109bdc0abfddd5'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b6b0e28d099a8-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:13:02 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1747', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-68b97664cf-2mh9m', 'x-envoy-upstream-service-time': '1645', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_269090048467cb0c10109bdc0abfddd5', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b6b0e28d099a8-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_269090048467cb0c10109bdc0abfddd5
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:13:03] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 18:16:07.005009 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 18:16:07.005009 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 18:16:07.006011 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 18:16:07.006011 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 18:16:07.006011 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 18:16:23.486243 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 18:16:23.486243 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 18:16:23.486243 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 18:16:23.486243 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 18:16:23.486243 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 18:18:32.229585 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 18:18:32.229585 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 18:18:32.229585 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 18:18:32.230595 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 18:18:32.230595 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 18:20:14.298737 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:20:14.302252 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:20:14] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:20:14.307012 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:20:14.310228 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:20:14] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:20:14] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:20:15.419789 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:20:15] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:20:20.179786 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:20:20] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:20:32.533088 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:20:35 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'11'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'2987'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_2a30ef668f44c827e283de27a6b4175a'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=2EwVRaMebm0ya5ATha1QoAdKeMcSDg9opMczExuZXro-1735492835-1.0.1.1-nvxQ7M73n8mmCmLZEkVK8wK5iXOThxouXaAFWwl1C1Ym_cMPSsBfAVJfSnwU5YLnPHdUgCNedvs4g2i_YVI2Og; path=/; expires=Sun, 29-Dec-24 17:50:35 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=AQIr2mU_lvq7O16BZBc_wMIjSBMNTgwXuWgxPgioeFc-1735492835307-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b761928db3c77-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 17:20:35 GMT'), ('content-type', 'application/json'), ('content-length', '11'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '2987'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_2a30ef668f44c827e283de27a6b4175a'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=2EwVRaMebm0ya5ATha1QoAdKeMcSDg9opMczExuZXro-1735492835-1.0.1.1-nvxQ7M73n8mmCmLZEkVK8wK5iXOThxouXaAFWwl1C1Ym_cMPSsBfAVJfSnwU5YLnPHdUgCNedvs4g2i_YVI2Og; path=/; expires=Sun, 29-Dec-24 17:50:35 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=AQIr2mU_lvq7O16BZBc_wMIjSBMNTgwXuWgxPgioeFc-1735492835307-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b761928db3c77-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_2a30ef668f44c827e283de27a6b4175a
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:20:37 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1503'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-6689858b9b-ldmcp'), (b'x-envoy-upstream-service-time', b'1486'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_8c8c7020c818944b0c7f8c9911a404f0'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b762cc9cf3c77-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:20:37 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1503', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-6689858b9b-ldmcp', 'x-envoy-upstream-service-time': '1486', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_8c8c7020c818944b0c7f8c9911a404f0', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b762cc9cf3c77-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_8c8c7020c818944b0c7f8c9911a404f0
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:20:39] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:01.949471 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:22:01.953313 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:01] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:01.958318 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:01] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:01.963200 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:22:01.971273 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:01] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:01] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:34.524964 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:34] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:35.313236 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:22:35.317752 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:35] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:35.321729 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:35] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:35.323276 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:35] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:35.328839 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:35] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:22:45.504668 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:22:45 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'40'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'532'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_0b9189af62ae789a3bd8fddda25c1cd6'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b79577b51700e-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:22:45 GMT', 'content-type': 'application/json', 'content-length': '40', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '532', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_0b9189af62ae789a3bd8fddda25c1cd6', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b79577b51700e-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_0b9189af62ae789a3bd8fddda25c1cd6
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:22:47 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1599'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-b8bdd86cf-zkt5t'), (b'x-envoy-upstream-service-time', b'1588'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_91227e6c52c558d8c679b926834cc696'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b795e1b1e700e-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:22:47 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1599', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-b8bdd86cf-zkt5t', 'x-envoy-upstream-service-time': '1588', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_91227e6c52c558d8c679b926834cc696', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b795e1b1e700e-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_91227e6c52c558d8c679b926834cc696
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:22:49] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:15.869854 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:24:15.875470 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:15] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:15.881006 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:15] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:15.884664 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:15] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:15.887666 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:15] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:45.477256 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:45] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:54.288046 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:24:54.294833 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:54] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:54.305375 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:24:54.310900 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:54] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:24:54.317622 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:54] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:24:54] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 18:25:28.757357 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 18:25:28.757357 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 18:25:28.757357 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 18:25:28.757357 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 18:25:28.757357 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 18:25:28.805976 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:25:29 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'718'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_e25a8fdba02de922af4a0c83a7eff602'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=1QcYMQtQxTr9fJFxicoLMhXUpaUGq83td8IV2Og1JU0-1735493129-1.0.1.1-YZSfOARq.nqUtGNnKoz4tsn2xu2DeSTVrSFF0N8I1jYAou.qQOdzlOFtmlL5uRTRrnROe.285GLabJ3_GbijoQ; path=/; expires=Sun, 29-Dec-24 17:55:29 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=8FKs2G68vs1YInh8ipzA0OURKVUq8vppOj5dv0TZhBA-1735493129028-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b7d5319d32a22-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 17:25:29 GMT'), ('content-type', 'application/json'), ('content-length', '21'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '718'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_e25a8fdba02de922af4a0c83a7eff602'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=1QcYMQtQxTr9fJFxicoLMhXUpaUGq83td8IV2Og1JU0-1735493129-1.0.1.1-YZSfOARq.nqUtGNnKoz4tsn2xu2DeSTVrSFF0N8I1jYAou.qQOdzlOFtmlL5uRTRrnROe.285GLabJ3_GbijoQ; path=/; expires=Sun, 29-Dec-24 17:55:29 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=8FKs2G68vs1YInh8ipzA0OURKVUq8vppOj5dv0TZhBA-1735493129028-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b7d5319d32a22-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_e25a8fdba02de922af4a0c83a7eff602
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:25:30 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1432'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-86c664c4fb-mqptb'), (b'x-envoy-upstream-service-time', b'1404'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_c4f9d020aa2490bae06fc7b938841097'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b7d589f7f2a22-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:25:30 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1432', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-86c664c4fb-mqptb', 'x-envoy-upstream-service-time': '1404', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_c4f9d020aa2490bae06fc7b938841097', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b7d589f7f2a22-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_c4f9d020aa2490bae06fc7b938841097
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:25:32] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+INFO:werkzeug: * Restarting with stat
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False
+DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem'
+INFO:root:2024-12-29 18:26:04.591362 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2024-12-29 18:26:04.591362 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2024-12-29 18:26:04.591362 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2024-12-29 18:26:04.591362 : ++ FLASK PORT 5001 ++
+INFO:root:2024-12-29 18:26:04.591362 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2024-12-29 18:26:04.862910 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:26:05] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:26:20.525268 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:26:23 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'19'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'2289'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_76e676e92a9f68a39aa9dac8284eb8f4'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=zOaudmrdra5imEL5VECW2MhlJj3kPc7FHEPKZWsJp6c-1735493183-1.0.1.1-fO64PM2mwfTa2RVZGmccmYm4RhNXtHQvAbrPfXvsBCLEug7Rdmt1hTkLTK.BxVt8tfsjGhf3cEAohtSVbg1byA; path=/; expires=Sun, 29-Dec-24 17:56:23 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=x7OhWHNVMdgXKWSM7EAh1fZ7L.eJOVGL9ihrW7tgNF8-1735493183079-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b7e9ad94e01ef-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Sun, 29 Dec 2024 17:26:23 GMT'), ('content-type', 'application/json'), ('content-length', '19'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '2289'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_76e676e92a9f68a39aa9dac8284eb8f4'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=zOaudmrdra5imEL5VECW2MhlJj3kPc7FHEPKZWsJp6c-1735493183-1.0.1.1-fO64PM2mwfTa2RVZGmccmYm4RhNXtHQvAbrPfXvsBCLEug7Rdmt1hTkLTK.BxVt8tfsjGhf3cEAohtSVbg1byA; path=/; expires=Sun, 29-Dec-24 17:56:23 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=x7OhWHNVMdgXKWSM7EAh1fZ7L.eJOVGL9ihrW7tgNF8-1735493183079-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f9b7e9ad94e01ef-CDG'), ('alt-svc', 'h3=":443"; ma=86400')])
+DEBUG:openai._base_client:request_id: req_76e676e92a9f68a39aa9dac8284eb8f4
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:26:26 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1635'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-6646c6d4d-gkvpm'), (b'x-envoy-upstream-service-time', b'1590'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_4d0d4efc8858a46697284ec751bbab60'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b7eb1ae1501ef-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:26:26 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1635', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-6646c6d4d-gkvpm', 'x-envoy-upstream-service-time': '1590', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_4d0d4efc8858a46697284ec751bbab60', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b7eb1ae1501ef-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_4d0d4efc8858a46697284ec751bbab60
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:26:27] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:24.871918 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:27:24.875341 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:24] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:24.878842 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:24] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:24.883170 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:24] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:25.459272 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:25] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:58.853514 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:27:58.857081 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:58] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:58.862430 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:58] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:27:58.866078 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:27:58.870208 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:58] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:27:58] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:28:04.694276 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:28:04] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:28:14.849005 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:28:15 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'29'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1416'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_1c3d7a3216b318cd8c8efdad735bb252'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b81606a1d04a8-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:28:15 GMT', 'content-type': 'application/json', 'content-length': '29', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1416', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_1c3d7a3216b318cd8c8efdad735bb252', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b81606a1d04a8-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_1c3d7a3216b318cd8c8efdad735bb252
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:28:17 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1219'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-5f98989b75-9l85g'), (b'x-envoy-upstream-service-time', b'1201'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_7fef56201ca2e485418dc893b555701c'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b816bafa204a8-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:28:17 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1219', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-5f98989b75-9l85g', 'x-envoy-upstream-service-time': '1201', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_7fef56201ca2e485418dc893b555701c', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b816bafa204a8-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_7fef56201ca2e485418dc893b555701c
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:28:18] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.716652 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.725622 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.733933 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.737931 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.747246 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.758654 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.764167 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.773228 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.789204 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.794054 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.809683 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.817141 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.827026 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.828343 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.849246 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.867758 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.879490 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:29:06.886426 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.930934 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:06.934926 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:06] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:07] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:39.422525 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:39] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:29:50.703523 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:29:51 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'15'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1797'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_cedbed65175ee4af05bc9037aa593a05'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b83b78b71f196-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:29:51 GMT', 'content-type': 'application/json', 'content-length': '15', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1797', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_cedbed65175ee4af05bc9037aa593a05', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b83b78b71f196-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_cedbed65175ee4af05bc9037aa593a05
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:29:53 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1106'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-b8bdd86cf-phf5k'), (b'x-envoy-upstream-service-time', b'1084'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_70b1b4fa9f27fb63faf1b6371c64df9a'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b83c3cf3ef196-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:29:53 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1106', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-b8bdd86cf-phf5k', 'x-envoy-upstream-service-time': '1084', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_70b1b4fa9f27fb63faf1b6371c64df9a', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b83c3cf3ef196-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_70b1b4fa9f27fb63faf1b6371c64df9a
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:29:54] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.295494 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.316754 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.339804 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.344720 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.347947 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.362692 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.382196 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.390076 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.399070 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.409410 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.433622 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.442401 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.467595 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.480190 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:33:03.486725 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.496807 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:root:2024-12-29 18:33:03.500802 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.516324 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.548290 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:03.570046 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:03] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:14.050229 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:14] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:33:25.737499 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:33:26 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'11'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'983'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_d727bc6265efbe9b8d1d0532e814ff03'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b88f8aa6e0207-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:33:26 GMT', 'content-type': 'application/json', 'content-length': '11', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '983', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_d727bc6265efbe9b8d1d0532e814ff03', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b88f8aa6e0207-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_d727bc6265efbe9b8d1d0532e814ff03
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:33:28 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1191'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-canary-cc6f5d69c-t65qj'), (b'x-envoy-upstream-service-time', b'1170'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_6f589b0e25f465680fe48eead2ea89a3'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b89011c560207-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:33:28 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1191', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-canary-cc6f5d69c-t65qj', 'x-envoy-upstream-service-time': '1170', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_6f589b0e25f465680fe48eead2ea89a3', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b89011c560207-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_6f589b0e25f465680fe48eead2ea89a3
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:33:29] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:09.015113 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:35:09.020598 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:09] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:09.028036 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:35:09.034682 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:09] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:09.046453 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:09] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:09] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:20.196818 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:20] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:23.866559 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:35:24 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'14'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'659'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_2f006b5e421a5c3f0bcf9648311bd678'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b8bda4ef4d081-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:35:24 GMT', 'content-type': 'application/json', 'content-length': '14', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '659', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_2f006b5e421a5c3f0bcf9648311bd678', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b8bda4ef4d081-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_2f006b5e421a5c3f0bcf9648311bd678
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:35:25 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1254'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-859f9cd9c6-zh595'), (b'x-envoy-upstream-service-time', b'1167'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_eb8ef701f9043381730e5358db97cb44'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b8be15e78d081-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:35:25 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1254', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-859f9cd9c6-zh595', 'x-envoy-upstream-service-time': '1167', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_eb8ef701f9043381730e5358db97cb44', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b8be15e78d081-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_eb8ef701f9043381730e5358db97cb44
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:28] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:55.986148 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:35:55.991404 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:55] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:55.997099 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:35:56.001564 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:56] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:56.012795 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:56] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:56] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:35:58.884798 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:35:58] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:36:06.382382 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:36:07 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'13'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1138'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_ccf8213b9bd85e4ba4fd618c7ea0abe4'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b8ce41c9101bd-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:36:07 GMT', 'content-type': 'application/json', 'content-length': '13', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1138', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_ccf8213b9bd85e4ba4fd618c7ea0abe4', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b8ce41c9101bd-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_ccf8213b9bd85e4ba4fd618c7ea0abe4
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/speech', 'headers': {'Accept': 'application/octet-stream'}, 'files': None, 'json_data': {'input': " Je n'ai pas compris l'instruction. merci de répéter ", 'model': 'tts-1-hd', 'voice': 'onyx'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/speech
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=
+DEBUG:httpcore.http11:send_request_body.complete
+DEBUG:httpcore.http11:receive_response_headers.started request=
+DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 29 Dec 2024 17:36:08 GMT'), (b'Content-Type', b'audio/mpeg'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1176'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'via', b'envoy-router-68478d78f5-ws2bg'), (b'x-envoy-upstream-service-time', b'1160'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_c8c0b118a8040e49bc441dde6409937c'), (b'CF-Cache-Status', b'DYNAMIC'), (b'X-Content-Type-Options', b'nosniff'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f9b8ceddf7701bd-CDG'), (b'alt-svc', b'h3=":443"; ma=86400')])
+INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
+DEBUG:httpcore.http11:receive_response_body.started request=
+DEBUG:httpcore.http11:receive_response_body.complete
+DEBUG:httpcore.http11:response_closed.started
+DEBUG:httpcore.http11:response_closed.complete
+DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/speech "200 OK" Headers({'date': 'Sun, 29 Dec 2024 17:36:08 GMT', 'content-type': 'audio/mpeg', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1176', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'via': 'envoy-router-68478d78f5-ws2bg', 'x-envoy-upstream-service-time': '1160', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_c8c0b118a8040e49bc441dde6409937c', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f9b8ceddf7701bd-CDG', 'alt-svc': 'h3=":443"; ma=86400'})
+DEBUG:openai._base_client:request_id: req_c8c0b118a8040e49bc441dde6409937c
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:36:10] "POST /myclass/api/mysy_openai_confirme_voice_instruction_api/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:37:04.792037 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:37:04.796124 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:37:04] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:37:04.800752 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2024-12-29 18:37:04.805090 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:37:04] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:37:04] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:37:04.815134 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:37:04] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:37:07.776716 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [29/Dec/2024 18:37:07] "POST /myclass/api/mysy_openai_get_voice_file/ HTTP/1.1" 200 -
+INFO:root:2024-12-29 18:37:18.360879 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/confirmation_test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}}
+DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions
+DEBUG:httpcore.connection:close.started
+DEBUG:httpcore.connection:close.complete
+DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None
+DEBUG:httpcore.connection:connect_tcp.complete return_value=
+DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0
+DEBUG:httpcore.connection:start_tls.complete return_value=
+DEBUG:httpcore.http11:send_request_headers.started request=
+DEBUG:httpcore.http11:send_request_headers.complete
+DEBUG:httpcore.http11:send_request_body.started request=