Skip to content

Conversation

@kzu
Copy link
Member

@kzu kzu commented Jun 30, 2025

Allows using collection initializer syntax for multiple messages, with a more python-esque style:

var messages = new Chat()
{
    { "system", "You are a highly intelligent AI assistant." },
    { "user", "What is 101*3?" },
};

@kzu kzu enabled auto-merge (rebase) June 30, 2025 21:19
@kzu kzu force-pushed the dev/chat branch 2 times, most recently from f39eae4 to 2143eae Compare June 30, 2025 21:27
Allows using collection initializer syntax for multiple messages, with a more python-esque style:

```csharp
var messages = new Chat()
{
    { "system", "You are a highly intelligent AI assistant." },
    { "user", "What is 101*3?" },
};
```
@kzu
Copy link
Member Author

kzu commented Jun 30, 2025

1 skipped 1 skipped

🧪 Details on Ubuntu 24.04.2 LTS

from dotnet-retest v0.7.1 on .NET 8.0.17 with 💜 by @devlooped

@kzu kzu merged commit bb93932 into main Jun 30, 2025
7 of 10 checks passed
@kzu kzu deleted the dev/chat branch June 30, 2025 21:34
@kzu kzu added the enhancement New feature or request label Jul 1, 2025
@devlooped devlooped locked and limited conversation to collaborators Aug 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants