Class AgiUserMessage
java.lang.Object
uno.anahata.asi.agi.event.BasicPropertyChangeSource
uno.anahata.asi.agi.message.AbstractMessage
uno.anahata.asi.agi.message.UserMessage
uno.anahata.asi.agi.message.AgiUserMessage
- All Implemented Interfaces:
PropertyChangeSource, Rebindable
A specialized UserMessage representing intent originated by another AGI session
within the same ASI container.
- Author:
- anahata
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe UUID of the AGI session that originated this message.Fields inherited from class BasicPropertyChangeSource
propertyChangeSupport -
Constructor Summary
ConstructorsConstructorDescriptionAgiUserMessage(Agi agi, String spawningAgiUuid) Constructs a new AgiUserMessage. -
Method Summary
Methods inherited from class UserMessage
addBlobPart, addBlobPart, addTextPart, getDevice, getRoleMethods inherited from class AbstractMessage
addPart, appendMetadata, asText, createMetadataHeader, getDepth, getEffectiveTokenCount, getIdentityLabel, getParts, getParts, getRemainingDepth, getTokenCount, isAllPinned, isAllPruned, isAnyPinned, isEffectivelyPruned, isEmpty, isGarbageCollectable, isPrunnableOrRemovable, pinAllParts, pruneAllParts, remove, removePart, resetTokenCounts, setAutoAllParts, shouldCreateMetadataMethods inherited from class BasicPropertyChangeSource
addPropertyChangeListener, addPropertyChangeListener, rebind, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PropertyChangeSource
getPropertyChangeSupport
-
Field Details
-
spawningAgiUuid
The UUID of the AGI session that originated this message.
-
-
Constructor Details
-
AgiUserMessage
-
-
Method Details
-
getFrom
Gets the identity of the sender of this message. For user messages, this is typically the user's name. For model messages, it's the model ID. For tool messages, it's the identity of the execution context.Returns the user's identity formatted as 'username@device'.
Returns the origin formatted as 'spawningUuid@containerId'.
- Overrides:
getFromin classUserMessage- Returns:
- The sender's identity.
-

