Skip to content

bug: tool_calls in DeltaResponse struct need to be Option? #509

@appyhdu

Description

@appyhdu

When debugging with OpenAI's LLM, I found that sometimes their SSE response looks like this:

Image

The tool_call field is filled with null.

and then I asked OpenAI's chat result as follows:

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions