(20241216) Payments requesting started, callback noting started.

This commit is contained in:
2024-12-16 18:29:30 +05:30
parent 0b9976fadb
commit b6ba54abd4
12 changed files with 636 additions and 117 deletions
+5 -5
View File
@@ -61,7 +61,7 @@ from bson import ObjectId
from pymongo import InsertOne, UpdateOne, ReplaceOne
# To work with LLMs:
from controllers.core.ai.llm import LLMController
from controllers.core.ai.llm import CoreLLMController
from models.core.ai.llm import LLMInput, LLMOutput
# To work with datatypes:
@@ -191,7 +191,7 @@ class MailController:
self,
mongo_conn: AsyncMongo,
user_info: CoreUserInfoModel,
llm: LLMController,
llm: CoreLLMController,
message: CoreMessageModel
) -> LLMOutput:
@@ -319,7 +319,7 @@ class MailController:
mail_client: AsyncGMailClient,
google_tokens: GoogleAuthTokens,
message_id: str,
llm: LLMController = None,
llm: CoreLLMController = None,
force_sync: bool = False
) -> MailSyncOneResult:
@@ -411,7 +411,7 @@ class MailController:
user_info: CoreUserInfoModel,
auth_token: CoreAuthTokenModel,
mail_client: AsyncGMailClient,
llm: LLMController = None,
llm: CoreLLMController = None,
force_sync: bool = False,
start_date: datetime.datetime = None,
end_date: datetime.datetime = None,
@@ -524,7 +524,7 @@ class MailController:
mongo_conn: AsyncMongo,
user_info: CoreUserInfoModel,
token_key: ObjectId | str,
llm: LLMController = None,
llm: CoreLLMController = None,
force_sync: bool = False,
start_date: datetime.datetime = None,
end_date: datetime.datetime = None,