Skip to content

Add helper factory methods to Chat#204

Merged
kzu merged 1 commit intomainfrom
dev/factory
Jan 5, 2026
Merged

Add helper factory methods to Chat#204
kzu merged 1 commit intomainfrom
dev/factory

Conversation

@kzu
Copy link
Copy Markdown
Member

@kzu kzu commented Jan 5, 2026

Allows simpler construction of chat message like:

using static Devlooped.Extensions.AI.Chat;
// ...
var response = client.GetResponseAsync(
  [Assistant("how can I help?"), User("hello")])

@kzu kzu added the enhancement New feature or request label Jan 5, 2026
Allows simpler construction of chat message like:

```csharp
using static Devlooped.Extensions.AI.Chat;
// ...
var response = client.GetResponseAsync(
  [Assistant("how can I help?"), User("hello")])
```
@kzu kzu enabled auto-merge (rebase) January 5, 2026 16:36
@kzu
Copy link
Copy Markdown
Member Author

kzu commented Jan 5, 2026

43 passed 43 passed 3 skipped

🧪 Details on Ubuntu 24.04.3 LTS

from dotnet-retest v1.0.0 on .NET 10.0.1 with 💜 by @devlooped

@kzu kzu merged commit 6c01258 into main Jan 5, 2026
7 checks passed
@kzu kzu deleted the dev/factory branch January 5, 2026 16:40
@devlooped devlooped locked and limited conversation to collaborators Feb 5, 2026
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.

1 participant