101577f163
- Updated import paths in multiple service files to reflect the new agent-desk module. - Added a new configuration file for agent-desk in the Docker setup.
22 lines
522 B
Go
22 lines
522 B
Go
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
|
|
Trace *aiReplyTraceData
|
|
SummaryRef **applicationruntime.Summary
|
|
PendingInterrupt *models.ConversationInterrupt
|
|
}
|
|
|
|
func (c aiReplyContext) setSummary(summary *applicationruntime.Summary) {
|
|
if c.SummaryRef != nil {
|
|
*c.SummaryRef = summary
|
|
}
|
|
}
|