Merge pull request #150 from koic/set_default_content_to_an_empty_array_instead_of_nil
Set default `content` to an empty array instead of `nil`
This commit is contained in:
commit
c5f2f98077
1 changed files with 14 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ module MCP
|
|||
error = deprecated_error
|
||||
end
|
||||
|
||||
@content = content
|
||||
@content = content || []
|
||||
@error = error
|
||||
@structured_content = structured_content
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue