Class: ActiveAgent::Providers::Mock::Messages::Assistant

Inherits:
Base show all
Defined in:
lib/active_agent/providers/mock/messages/assistant.rb

Overview

Assistant message for Mock provider.

Drops extra fields that are part of the API response but not part of the message structure (usage, id, model, stop_reason, type, etc).

Method Summary

Methods inherited from Base

#to_common

Methods inherited from Common::BaseModel

#<=>, #==, attribute, #deep_compact, #deep_dup, delegate_attributes, drop_attributes, inherited, #initialize, #inspect, keys, #merge!, required_attributes, #serialize, #to_h, #to_hash

Constructor Details

This class inherits a constructor from ActiveAgent::Providers::Common::BaseModel