chore: import clean Agent Desk snapshot (2/7)
This commit is contained in:
20
internal/ai/runtime/reply_context.go
Normal file
20
internal/ai/runtime/reply_context.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package runtime
|
||||
|
||||
import (
|
||||
applicationruntime "agent-desk/internal/ai/application/runtime"
|
||||
"agent-desk/internal/models"
|
||||
)
|
||||
|
||||
type aiReplyContext struct {
|
||||
Conversation models.Conversation
|
||||
Message models.Message
|
||||
AIAgent models.AIAgent
|
||||
SummaryRef **applicationruntime.RunResult
|
||||
PendingInterrupt *models.ConversationInterrupt
|
||||
}
|
||||
|
||||
func (c aiReplyContext) setSummary(summary *applicationruntime.RunResult) {
|
||||
if c.SummaryRef != nil {
|
||||
*c.SummaryRef = summary
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user