iatoolkit 0.7.12__py3-none-any.whl → 0.7.15__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.
Potentially problematic release.
This version of iatoolkit might be problematic. Click here for more details.
- iatoolkit/cli_commands.py +1 -1
- iatoolkit/iatoolkit.py +14 -16
- {iatoolkit-0.7.12.dist-info → iatoolkit-0.7.15.dist-info}/METADATA +1 -1
- {iatoolkit-0.7.12.dist-info → iatoolkit-0.7.15.dist-info}/RECORD +6 -6
- {iatoolkit-0.7.12.dist-info → iatoolkit-0.7.15.dist-info}/WHEEL +0 -0
- {iatoolkit-0.7.12.dist-info → iatoolkit-0.7.15.dist-info}/top_level.txt +0 -0
iatoolkit/cli_commands.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import click
|
|
7
7
|
import logging
|
|
8
8
|
from iatoolkit import IAToolkit
|
|
9
|
-
from iatoolkit.services import ProfileService
|
|
9
|
+
from iatoolkit.services.profile_service import ProfileService
|
|
10
10
|
|
|
11
11
|
def register_core_commands(app):
|
|
12
12
|
"""Registra los comandos CLI del núcleo de IAToolkit."""
|
iatoolkit/iatoolkit.py
CHANGED
|
@@ -264,15 +264,15 @@ class IAToolkit:
|
|
|
264
264
|
binder.bind(TaskRepo, to=TaskRepo)
|
|
265
265
|
|
|
266
266
|
def _bind_services(self, binder: Binder):
|
|
267
|
-
from iatoolkit.services import QueryService
|
|
267
|
+
from iatoolkit.services.query_service import QueryService
|
|
268
268
|
from iatoolkit.services.tasks_service import TaskService
|
|
269
|
-
from iatoolkit.services import BenchmarkService
|
|
269
|
+
from iatoolkit.services.benchmark_service import BenchmarkService
|
|
270
270
|
from iatoolkit.services.document_service import DocumentService
|
|
271
271
|
from iatoolkit.services.prompt_manager_service import PromptService
|
|
272
272
|
from iatoolkit.services.excel_service import ExcelService
|
|
273
|
-
from iatoolkit.services import MailService
|
|
273
|
+
from iatoolkit.services.mail_service import MailService
|
|
274
274
|
from iatoolkit.services.load_documents_service import LoadDocumentsService
|
|
275
|
-
from iatoolkit.services import ProfileService
|
|
275
|
+
from iatoolkit.services.profile_service import ProfileService
|
|
276
276
|
from iatoolkit.services.jwt_service import JWTService
|
|
277
277
|
from iatoolkit.services.dispatcher_service import Dispatcher
|
|
278
278
|
|
|
@@ -290,10 +290,10 @@ class IAToolkit:
|
|
|
290
290
|
|
|
291
291
|
def _bind_infrastructure(self, binder: Binder):
|
|
292
292
|
from iatoolkit.infra.llm_client import llmClient
|
|
293
|
-
from iatoolkit.infra import LLMProxy
|
|
294
|
-
from iatoolkit.infra import GoogleChatApp
|
|
293
|
+
from iatoolkit.infra.llm_proxy import LLMProxy
|
|
294
|
+
from iatoolkit.infra.google_chat_app import GoogleChatApp
|
|
295
295
|
from iatoolkit.infra.mail_app import MailApp
|
|
296
|
-
from iatoolkit.common import IAuthentication
|
|
296
|
+
from iatoolkit.common.auth import IAuthentication
|
|
297
297
|
from iatoolkit.common.util import Utility
|
|
298
298
|
|
|
299
299
|
|
|
@@ -307,10 +307,10 @@ class IAToolkit:
|
|
|
307
307
|
|
|
308
308
|
def _bind_views(self, binder: Binder):
|
|
309
309
|
"""Vincula las vistas después de que el injector ha sido creado"""
|
|
310
|
-
from iatoolkit.views import LLMQueryView
|
|
311
|
-
from iatoolkit.views import HomeView
|
|
312
|
-
from iatoolkit.views import ChatView
|
|
313
|
-
from iatoolkit.views import ChangePasswordView
|
|
310
|
+
from iatoolkit.views.llmquery_view import LLMQueryView
|
|
311
|
+
from iatoolkit.views.home_view import HomeView
|
|
312
|
+
from iatoolkit.views.chat_view import ChatView
|
|
313
|
+
from iatoolkit.views.change_password_view import ChangePasswordView
|
|
314
314
|
|
|
315
315
|
binder.bind(HomeView, to=HomeView)
|
|
316
316
|
binder.bind(ChatView, to=ChatView)
|
|
@@ -355,7 +355,7 @@ class IAToolkit:
|
|
|
355
355
|
# Configura context processors para templates
|
|
356
356
|
@self.app.context_processor
|
|
357
357
|
def inject_globals():
|
|
358
|
-
from iatoolkit.common import SessionManager
|
|
358
|
+
from iatoolkit.common.session_manager import SessionManager
|
|
359
359
|
return {
|
|
360
360
|
'url_for': url_for,
|
|
361
361
|
'iatoolkit_version': self.version,
|
|
@@ -367,16 +367,14 @@ class IAToolkit:
|
|
|
367
367
|
def _get_default_static_folder(self) -> str:
|
|
368
368
|
try:
|
|
369
369
|
current_dir = os.path.dirname(os.path.abspath(__file__)) # .../src/iatoolkit
|
|
370
|
-
|
|
371
|
-
return os.path.join(src_dir, "static")
|
|
370
|
+
return os.path.join(current_dir, "static")
|
|
372
371
|
except:
|
|
373
372
|
return 'static'
|
|
374
373
|
|
|
375
374
|
def _get_default_template_folder(self) -> str:
|
|
376
375
|
try:
|
|
377
376
|
current_dir = os.path.dirname(os.path.abspath(__file__)) # .../src/iatoolkit
|
|
378
|
-
|
|
379
|
-
return os.path.join(src_dir, "templates")
|
|
377
|
+
return os.path.join(current_dir, "templates")
|
|
380
378
|
except:
|
|
381
379
|
return 'templates'
|
|
382
380
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
iatoolkit/__init__.py,sha256=yi7Uw68KajDWUUo-v4xV31Nt7hjr_-2gCXbkhdiDl44,1887
|
|
2
2
|
iatoolkit/base_company.py,sha256=gM3X7xedNaVLodOObvjUN9eJKPO5-HmSLaBFa9jowCk,4277
|
|
3
|
-
iatoolkit/cli_commands.py,sha256=
|
|
3
|
+
iatoolkit/cli_commands.py,sha256=G5L9xQXZ0lVFXQWBaE_KEZHyfuiT6PL1nTQRoSdnBzc,2302
|
|
4
4
|
iatoolkit/company_registry.py,sha256=tduqt3oV8iDX_IB1eA7KIgvIxE4edTcy-3qZIXh3Lzw,2549
|
|
5
|
-
iatoolkit/iatoolkit.py,sha256=
|
|
5
|
+
iatoolkit/iatoolkit.py,sha256=UTixRTy0HoOMfO01H58IhC6BJFfZFZU_cbyOA25gkmM,15888
|
|
6
6
|
iatoolkit/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
iatoolkit/common/auth.py,sha256=8NH6MQXfddLQd1GxrO2op3IYrrP4SMQKoKzj1o1jZmc,8486
|
|
8
8
|
iatoolkit/common/exceptions.py,sha256=EXx40n5htp7UiOM6P1xfJ9U6NMcADqm62dlFaKz7ICU,1154
|
|
@@ -188,7 +188,7 @@ tests/views/test_tasks_review_view.py,sha256=HXbAY99rbcdg-ZoaU3kxp-jNTPgOhgiTyKm
|
|
|
188
188
|
tests/views/test_tasks_view.py,sha256=TNdV69Vt17uc-vBI37A7qtRNqyPho2MoW7cgGxQKecU,4551
|
|
189
189
|
tests/views/test_user_feedback_view.py,sha256=IfKOpsncmf5ciMDsGuPtro9GdKXkxhRzsysVlEEM_HA,9181
|
|
190
190
|
tests/views/test_verify_user_view.py,sha256=dxQ3ibOETEuP8M50Gmwbmzj2L6UU7PAyC91Wp9Xs0K0,4772
|
|
191
|
-
iatoolkit-0.7.
|
|
192
|
-
iatoolkit-0.7.
|
|
193
|
-
iatoolkit-0.7.
|
|
194
|
-
iatoolkit-0.7.
|
|
191
|
+
iatoolkit-0.7.15.dist-info/METADATA,sha256=2lRc7VvYw7ALxcXjgbUAS0jzvZu1kWF-WACrFGWDyoI,9301
|
|
192
|
+
iatoolkit-0.7.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
193
|
+
iatoolkit-0.7.15.dist-info/top_level.txt,sha256=or0Ar3Su6BhTy86zRrUwMAWtsR8Nk-tFEwdC0CZpKCs,16
|
|
194
|
+
iatoolkit-0.7.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|