Compare commits

...
1 Commits
Author SHA1 Message Date
saherelm 31a0d097c0 Make Project and Conversation Optional in XAiResponseRequest
- XAiResponseRequest: ProjectId / ConversationId changed from Guid to Guid?
  (omitted => default project / default conversation);
- XAiModelsExtensions: fix indentation of ToChatMessages signature.
2026-10-30 19:45:57 +03:30
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ namespace xAiModels.Extensions
/// <returns></returns>
public static ChatMessage ToChatMessages(
this XAiMessageDto source,
IList<AIContent> additionalContents = null
IList<AIContent> additionalContents = null
)
{
//
+2 -2
View File
@@ -15,11 +15,11 @@ namespace xAiModels.Models
/// <summary>
/// Specified Project Id ...
/// </summary>
public Guid ProjectId { get; set; }
public Guid? ProjectId { get; set; }
/// <summary>
/// Specified Conversation Id ...
/// </summary>
public Guid ConversationId { get; set; }
public Guid? ConversationId { get; set; }
}
}