We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753bda0 commit aebeb5eCopy full SHA for aebeb5e
1 file changed
core/relay/model/claude.go
@@ -54,8 +54,8 @@ type ClaudeImageSource struct {
54
55
type ClaudeContent struct {
56
Type string `json:"type"`
57
- Text string `json:"text"`
58
- Thinking string `json:"thinking"`
+ Text string `json:"text,omitempty"`
+ Thinking string `json:"thinking,omitempty"`
59
Source *ClaudeImageSource `json:"source,omitempty"`
60
ID string `json:"id,omitempty"`
61
Name string `json:"name,omitempty"`
0 commit comments