Skip to content

Conversation

@lucianareginalino
Copy link
Collaborator

  • Changed Role property in LiquidChatMessage to use the new LiquidMessageRole enum for better structure.
  • Added constructor for LiquidChatMessage and initialized Content to an empty array by default.
  • Introduced AddContent(string text) and AddContent(Uri imageUri) methods for adding content with validation.
  • Added AddMessage(LiquidChatMessage message) method in LiquidChatMessages to ensure null messages are not added.
  • Updated project version in Liquid.Core.csproj from 8.0.0 to 8.1.0.
  • Changed Liquid.Core reference in Liquid.GenAi.OpenAi.csproj from a package reference to a project reference.
  • Updated MapChatRequestMessage method to use the new LiquidMessageRole enum.
  • Created LiquidMessageRole.cs to define the LiquidMessageRole enum for message participant roles.

- Changed `Role` property in `LiquidChatMessage` to use the new `LiquidMessageRole` enum for better structure.
- Added constructor for `LiquidChatMessage` and initialized `Content` to an empty array by default.
- Introduced `AddContent(string text)` and `AddContent(Uri imageUri)` methods for adding content with validation.
- Added `AddMessage(LiquidChatMessage message)` method in `LiquidChatMessages` to ensure null messages are not added.
- Updated project version in `Liquid.Core.csproj` from `8.0.0` to `8.1.0`.
- Changed `Liquid.Core` reference in `Liquid.GenAi.OpenAi.csproj` from a package reference to a project reference.
- Updated `MapChatRequestMessage` method to use the new `LiquidMessageRole` enum.
- Created `LiquidMessageRole.cs` to define the `LiquidMessageRole` enum for message participant roles.
@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

@lucianareginalino lucianareginalino merged commit c62df4f into main Jul 28, 2025
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants