Skip to content
Open
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
5 changes: 1 addition & 4 deletions lib/active_agent/providers/mock/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ class Request < Common::BaseModel
attribute :stream, :boolean, default: false
attribute :tools # Array of tool definitions
attribute :tool_choice # Tool choice configuration
attribute :response_format

# Common Format Compatibility
def message=(value)
self.messages ||= []
self.messages << value
end

def response_format
{ type: "text" }
end
end
end
end
Expand Down