Skip to content

Commit aebeb5e

Browse files
authored
Revert "fix: anthropic streaming content_block_start struct bug (#604)" (#609)
This reverts commit 449859f.
1 parent 753bda0 commit aebeb5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/relay/model/claude.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ type ClaudeImageSource struct {
5454

5555
type ClaudeContent struct {
5656
Type string `json:"type"`
57-
Text string `json:"text"`
58-
Thinking string `json:"thinking"`
57+
Text string `json:"text,omitempty"`
58+
Thinking string `json:"thinking,omitempty"`
5959
Source *ClaudeImageSource `json:"source,omitempty"`
6060
ID string `json:"id,omitempty"`
6161
Name string `json:"name,omitempty"`

0 commit comments

Comments
 (0)