Skip to content

Fix #433, #358, #342. #434

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix #433, #358, #342. #434

wants to merge 2 commits into from

Conversation

lsoft
Copy link

@lsoft lsoft commented May 19, 2025

Here is fixed:

  1. The requested operation requires an element of type 'String', but the target element has type 'Object' #433 For a functions without arguments DeserializeArgumentsValue fails to deserialize.
  2. ChatFinishReasonExtensions.ToChatFinishReason #342 and perhaps StreamingChatCompletionUpdate.FinishReason is always null #358 Sometimes LLMs returns invalid value for a chat finish reason (even null can returns). So preferred behavior is to return Unknown finish reason, not to raise exception.

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