Class: PhaseoAgentSdk::Message

Inherits:
Struct
  • Object
show all
Defined in:
lib/phaseo_agent_sdk.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



18
19
20
# File 'lib/phaseo_agent_sdk.rb', line 18

def content
  @content
end

#is_errorObject

Returns the value of attribute is_error

Returns:

  • (Object)

    the current value of is_error



18
19
20
# File 'lib/phaseo_agent_sdk.rb', line 18

def is_error
  @is_error
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/phaseo_agent_sdk.rb', line 18

def name
  @name
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



18
19
20
# File 'lib/phaseo_agent_sdk.rb', line 18

def role
  @role
end

#tool_call_idObject

Returns the value of attribute tool_call_id

Returns:

  • (Object)

    the current value of tool_call_id



18
19
20
# File 'lib/phaseo_agent_sdk.rb', line 18

def tool_call_id
  @tool_call_id
end

#tool_callsObject

Returns the value of attribute tool_calls

Returns:

  • (Object)

    the current value of tool_calls



18
19
20
# File 'lib/phaseo_agent_sdk.rb', line 18

def tool_calls
  @tool_calls
end