Class StoredAgentExecutionResult
java.lang.Object
at.aimon.session.postgres.internal.StoredAgentExecutionResult
- All Implemented Interfaces:
at.aimon.core.agent.AgentExecutionResult
public final class StoredAgentExecutionResult
extends Object
implements at.aimon.core.agent.AgentExecutionResult
Minimal
AgentExecutionResult projection used by PostgresIdempotencyStore for replay.
Captures only the fields the idempotency replay path needs — final answer / error message, completion reason, and the
wasStreamed flag. Artifacts are not preserved across the JSON round-trip; see design §9.2.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static StoredAgentExecutionResultfrom(at.aimon.core.agent.AgentExecutionResult source) at.aimon.core.agent.budget.CompletionReasonbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface at.aimon.core.agent.AgentExecutionResult
getArtifacts
-
Method Details
-
builder
-
from
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccessin interfaceat.aimon.core.agent.AgentExecutionResult
-
getFinalAnswer
- Specified by:
getFinalAnswerin interfaceat.aimon.core.agent.AgentExecutionResult
-
getErrorMessage
- Specified by:
getErrorMessagein interfaceat.aimon.core.agent.AgentExecutionResult
-
getCompletionReason
public at.aimon.core.agent.budget.CompletionReason getCompletionReason()- Specified by:
getCompletionReasonin interfaceat.aimon.core.agent.AgentExecutionResult
-
wasStreamed
public boolean wasStreamed()- Specified by:
wasStreamedin interfaceat.aimon.core.agent.AgentExecutionResult
-