Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SendAsync/SendAsAsync overloads introduced in #159 #161

Merged
merged 2 commits into from
Jan 3, 2025
Merged

Conversation

awaescher
Copy link
Owner

#159 added a format argument to the Chat class. However, it broke the overload resolution so that in certain overloads, the new format argument was wrongly assigned to the CancellationToken. This was pretty hard to debug, due to a serialization error message. To prevent this, I added the check to throw a specialized exception in addition to fixing the overloads.

@awaescher awaescher changed the title Hotfix/159 Fix SendAsync/SendAsAsync overloads introduced in #159 Jan 3, 2025
@awaescher awaescher merged commit f38890d into main Jan 3, 2025
1 check 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.

1 participant