Class: VSM::Message

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

Overview

kind: :user, :assistant_delta, :assistant, :tool_call, :tool_result, :plan, :policy, :audit, :confirm_request, :confirm_response path: optional addressing, e.g., [:airb, :operations, :fs]

Instance Attribute Summary collapse

Instance Attribute Details

#corr_idObject

Returns the value of attribute corr_id

Returns:

  • (Object)

    the current value of corr_id



5
6
7
# File 'lib/vsm/message.rb', line 5

def corr_id
  @corr_id
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



5
6
7
# File 'lib/vsm/message.rb', line 5

def kind
  @kind
end

#metaObject

Returns the value of attribute meta

Returns:

  • (Object)

    the current value of meta



5
6
7
# File 'lib/vsm/message.rb', line 5

def meta
  @meta
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/vsm/message.rb', line 5

def path
  @path
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



5
6
7
# File 'lib/vsm/message.rb', line 5

def payload
  @payload
end