This commit is contained in:
2026-11-03 18:56:52 +03:30
parent 62aa8d51e6
commit 9668f26ffe
13 changed files with 876 additions and 340 deletions
+22 -11
View File
@@ -21,17 +21,6 @@ namespace xAiModels.Constants
[StringValue("ProjectRemoved")]
ProjectRemoved,
//
// Conversation ...
[StringValue("ConversationCreated")]
ConversationCreated,
[StringValue("ConversationUpdated")]
ConversationUpdated,
[StringValue("ConversationRemoved")]
ConversationRemoved,
//
// Message ...
[StringValue("MessageCreated")]
@@ -42,5 +31,27 @@ namespace xAiModels.Constants
[StringValue("MessageRemoved")]
MessageRemoved,
//
// MCPServer ...
[StringValue("McpServerCreated")]
McpServerCreated,
[StringValue("McpServerUpdated")]
McpServerUpdated,
[StringValue("McpServerRemoved")]
McpServerRemoved,
//
// Conversation ...
[StringValue("ConversationCreated")]
ConversationCreated,
[StringValue("ConversationUpdated")]
ConversationUpdated,
[StringValue("ConversationRemoved")]
ConversationRemoved,
}
}
+13
View File
@@ -0,0 +1,13 @@
using xExceptions.Attributes;
namespace xAiModels.Constants
{
public enum XAiMcpServerUsageScope
{
[StringValue(XAiModelsConstants.XAiMcpServerUsageScopeAll)]
All = 1,
[StringValue(XAiModelsConstants.XAiMcpServerUsageScopeOwner)]
Owner = 2
}
}
+6
View File
@@ -90,5 +90,11 @@ namespace xAiModels.Constants
public const string XAiKnowledgeMetadataScopeId = "scopeId";
public const string XAiKnowledgeMetadataOwnerId = "ownerId";
public const string XAiKnowledgeMetadataIngestedAtUtc = "ingestedAtUtc";
//
// Mcp Server ...
public const int XAiMcpServerMinTimeoutSeconds = 30;
public const string XAiMcpServerUsageScopeAll = "All";
public const string XAiMcpServerUsageScopeOwner = "Owner";
}
}