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.
This commit is contained in:
@@ -423,7 +423,7 @@ namespace xAiModels.Extensions
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static ChatMessage ToChatMessages(
|
public static ChatMessage ToChatMessages(
|
||||||
this XAiMessageDto source,
|
this XAiMessageDto source,
|
||||||
IList<AIContent> additionalContents = null
|
IList<AIContent> additionalContents = null
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ namespace xAiModels.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specified Project Id ...
|
/// Specified Project Id ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid ProjectId { get; set; }
|
public Guid? ProjectId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specified Conversation Id ...
|
/// Specified Conversation Id ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid ConversationId { get; set; }
|
public Guid? ConversationId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user