Capture completed conversation exchanges
This commit is contained in:
@@ -102,7 +102,13 @@ func fromDomainRunResult(result *domain.RunResult) *RunResult {
|
||||
if result == nil {
|
||||
return nil
|
||||
}
|
||||
var exchange *Exchange
|
||||
if result.Exchange != nil {
|
||||
exchange = &Exchange{internal: result.Exchange}
|
||||
}
|
||||
return &RunResult{
|
||||
Exchange: exchange,
|
||||
ParentRunID: result.ParentRunID,
|
||||
RunID: result.RunID,
|
||||
Artifact: fromDomainArtifact(result.Artifact),
|
||||
RawOutput: result.RawOutput,
|
||||
|
||||
Reference in New Issue
Block a user