Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ class Function < OpenAI::Internal::Type::BaseModel
# @return [String]
required :arguments, String

# @!attribute parsed
# The parsed contents of the arguments.
#
# @return [Object, nil]
required :parsed, OpenAI::StructuredOutput::ParsedJson

# @!attribute name
# The name of the function to call.
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ module OpenAI
sig { returns(String) }
attr_accessor :arguments

# The parsed contents of the arguments.
sig { returns(T.anything) }
attr_accessor :parsed

# The name of the function to call.
sig { returns(String) }
attr_accessor :name
Expand Down
1 change: 0 additions & 1 deletion rbi/openai/resources/responses.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ module OpenAI
OpenAI::Responses::Tool::CodeInterpreter::OrHash,
OpenAI::Responses::Tool::ImageGeneration::OrHash,
OpenAI::Responses::Tool::LocalShell::OrHash,
OpenAI::Responses::Tool::Custom::OrHash,
OpenAI::Responses::WebSearchTool::OrHash
)
]
Expand Down