Compare commits
3
Commits
cddf2650f5
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a228439a5 | ||
|
|
13cd0745c6 | ||
|
|
5bccce3475 |
@@ -1043,10 +1043,7 @@ namespace xAiApi.Controllers
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Validate ...
|
// Validate ...
|
||||||
if (projectId.IsNull() ||
|
if (item.IsNullOrDefault())
|
||||||
!projectId.HasValue ||
|
|
||||||
item.IsNullOrDefault() ||
|
|
||||||
projectId.Value.IsDefaultGuid())
|
|
||||||
{
|
{
|
||||||
XException.InvalidArgs.Throw();
|
XException.InvalidArgs.Throw();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1728,6 +1728,8 @@ namespace xAiApi.Providers
|
|||||||
// Retrieve Conversation Message ...
|
// Retrieve Conversation Message ...
|
||||||
var messages = await dataProvider
|
var messages = await dataProvider
|
||||||
.LoadMessages(
|
.LoadMessages(
|
||||||
|
ownerId: userInfo.UserId,
|
||||||
|
connectionId: connectionId,
|
||||||
conversationId: conversationId.Value,
|
conversationId: conversationId.Value,
|
||||||
cancellationToken: cancellationToken
|
cancellationToken: cancellationToken
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"DefaultLanguage": "fa-IR",
|
"DefaultLanguage": "fa-IR",
|
||||||
"XPoweredValue": "SaherElmITCenter",
|
"XPoweredValue": "SaherElmITCenter",
|
||||||
"WelcomeMessage": "Welcome to xSaherElm Project's AI API",
|
"WelcomeMessage": "Welcome to xSaherElm Project's AI API",
|
||||||
|
"DefaultCacheTtlMinutes": 10,
|
||||||
"AllowedOrigins": [
|
"AllowedOrigins": [
|
||||||
"http://api.saherelm.ir",
|
"http://api.saherelm.ir",
|
||||||
"https://api.saherelm.ir",
|
"https://api.saherelm.ir",
|
||||||
|
|||||||
Reference in New Issue
Block a user