realtimex-deeptutor 0.5.0.post10__py3-none-any.whl → 0.5.0.post11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: realtimex-deeptutor
3
- Version: 0.5.0.post10
3
+ Version: 0.5.0.post11
4
4
  Summary: RealTimeX DeepTutor - Intelligent learning companion with multi-agent collaboration and LightRAG
5
5
  License: Apache-2.0
6
6
  Requires-Python: >=3.10
@@ -1,5 +1,5 @@
1
1
  realtimex_deeptutor/__init__.py,sha256=sSfuCLjJa6BnayszcU4azNl_sr1OzuKgLP10BAtdoh8,1567
2
- realtimex_deeptutor-0.5.0.post10.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
2
+ realtimex_deeptutor-0.5.0.post11.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
3
3
  scripts/__init__.py,sha256=mxMsCbci-Qon3qWU1JIi93-tYlHAy0NIUbDRmAPVcg0,54
4
4
  scripts/audit_prompts.py,sha256=Ltuk7tvsjpKhiobVbYq1volgVFKiVLgSTaE_Is4MGaM,5651
5
5
  scripts/check_install.py,sha256=GbApEcDLJ6r0QmYrCVHAFCOK4wolpSLwL3eBRmmD3og,13929
@@ -287,10 +287,10 @@ src/utils/document_validator.py,sha256=ogNk0KvMZPQKi9zHoeQzhUxCVsYFpkP9-pjO8kC71
287
287
  src/utils/error_rate_tracker.py,sha256=MIhaNaStdrhinVFIKHNOgQMPdbrddjKJy2ok_jK8WX4,3942
288
288
  src/utils/error_utils.py,sha256=ME_9q-DlmxFl-Xvv3ETPZE_iP705x6MXiuAREgWYsjM,2262
289
289
  src/utils/json_parser.py,sha256=M_KfrsrNvQPSiFvpKHQV79Aj85_MEcLVc6hnKzvTV58,3243
290
- src/utils/realtimex.py,sha256=vs7fAEnJJ4zpAyyBn-7vUmGWiiQvpTWQCRgax1MLTDw,9769
290
+ src/utils/realtimex.py,sha256=mnMoyWz34wvSPaxScF0LW7kvFUqWoctjYZLVSsv_Tcg,9755
291
291
  src/utils/network/circuit_breaker.py,sha256=BtjogK5R3tG8fuJniS5-PJKZMtwD5P2SkP2JFiQ9sRA,2722
292
- realtimex_deeptutor-0.5.0.post10.dist-info/METADATA,sha256=XmZlyQW826HMX3Pak6ZS6hdX6rv6v9NcHsslH1Q3oP8,58305
293
- realtimex_deeptutor-0.5.0.post10.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
294
- realtimex_deeptutor-0.5.0.post10.dist-info/entry_points.txt,sha256=slNAzwRLUpqiMtDRZBQIkXbU2vGMHL_om6-o19gYdh8,134
295
- realtimex_deeptutor-0.5.0.post10.dist-info/top_level.txt,sha256=zUAd6V7jDYhdL7bvg2S38YCM-gVhvd36WqkjxrT-02I,32
296
- realtimex_deeptutor-0.5.0.post10.dist-info/RECORD,,
292
+ realtimex_deeptutor-0.5.0.post11.dist-info/METADATA,sha256=QEFrGVSTdIgYEtMkVvGHGJFxEwjcsl9sTlGoHnpiFOs,58305
293
+ realtimex_deeptutor-0.5.0.post11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
294
+ realtimex_deeptutor-0.5.0.post11.dist-info/entry_points.txt,sha256=slNAzwRLUpqiMtDRZBQIkXbU2vGMHL_om6-o19gYdh8,134
295
+ realtimex_deeptutor-0.5.0.post11.dist-info/top_level.txt,sha256=zUAd6V7jDYhdL7bvg2S38YCM-gVhvd36WqkjxrT-02I,32
296
+ realtimex_deeptutor-0.5.0.post11.dist-info/RECORD,,
src/utils/realtimex.py CHANGED
@@ -7,10 +7,11 @@ Utilities for RealTimeX SDK integration.
7
7
  Provides unified SDK instance management and environment detection.
8
8
  """
9
9
 
10
- import logging
11
10
  from typing import TYPE_CHECKING, Optional
12
11
 
13
- logger = logging.getLogger(__name__)
12
+ from src.logging import get_logger
13
+
14
+ logger = get_logger(__name__)
14
15
 
15
16
  if TYPE_CHECKING:
16
17
  from realtimex_sdk import RealtimeXSDK
@@ -174,7 +175,7 @@ async def get_cached_providers() -> dict:
174
175
  if "provider" not in p and "id" in p:
175
176
  p["provider"] = p["id"]
176
177
  return p
177
-
178
+
178
179
  data = {
179
180
  "provider": p.provider,
180
181
  "models": [{"id": m.id, "name": m.name} for m in p.models],
@@ -182,7 +183,7 @@ async def get_cached_providers() -> dict:
182
183
  # Add config metadata if available (for TTS advanced options)
183
184
  if hasattr(p, "config"):
184
185
  data["config"] = p.config
185
-
186
+
186
187
  return data
187
188
 
188
189
  _providers_cache = {