(20241205) LLM endpoint active now.

This commit is contained in:
2024-12-05 18:09:32 +05:30
parent 0ec57089b0
commit 81550898eb
10 changed files with 347 additions and 383 deletions
+3 -3
View File
@@ -180,7 +180,7 @@ async def request_oauth_authorization_url(
},
auth = inbound_data.auth.model_dump(),
token = None,
service_client = inbound_data.messageClient,
service_client = inbound_data.smsClient,
auth_type = "auth",
sync_freq = 300,
session_token = inbound_headers["X-Session-Token"]
@@ -203,7 +203,7 @@ async def request_oauth_authorization_url(
},
auth = inbound_data.auth.model_dump(),
token = None,
service_client = inbound_data.messageClient,
service_client = inbound_data.smsClient,
auth_type = "auth",
sync_freq = 300,
session_token = inbound_headers["X-Session-Token"]
@@ -219,7 +219,7 @@ async def request_oauth_authorization_url(
status_code = StatusCodes.OK if token_id else StatusCodes.FAILED,
http_code = HttpCodes.SUCCESS if token_id else HttpCodes.INTERNAL_SERVER_ERROR,
data = {
"messageClient": inbound_data.messageClient,
"smsClient": inbound_data.messageClient,
"authorized": True
}
)