Skip to content

Commit 15e5fba

Browse files
Change Context from pointer to value type (omission is not helpful)
1 parent a225d4d commit 15e5fba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mcp/protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ type CompleteParams struct {
329329
Meta `json:"_meta,omitempty"`
330330
// The argument's information
331331
Argument CompleteParamsArgument `json:"argument"`
332-
Context *CompleteContext `json:"context,omitempty"`
332+
Context CompleteContext `json:"context"`
333333
Ref *CompleteReference `json:"ref"`
334334
}
335335

0 commit comments

Comments
 (0)