MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / AppendAssistantMessage

Function AppendAssistantMessage

agent/messages.go:69–71  ·  view source on GitHub ↗
(state *AgentState, thinkingContent []map[string]any, fullText string, toolCalls []coretools.ToolCall, messageID string)

Source from the content-addressed store, hash-verified

67}
68
69func AppendAssistantMessage(state *AgentState, thinkingContent []map[string]any, fullText string, toolCalls []coretools.ToolCall, messageID string) {
70 state.Messages = append(state.Messages, BuildAssistantMessage(thinkingContent, fullText, toolCalls, messageID))
71}
72
73func AppendContinuationPrompt(state *AgentState) {
74 state.Messages = append(state.Messages, map[string]any{

Callers 2

CommitAssistantTurnFunction · 0.85
SubmitMessageMethod · 0.85

Calls 1

BuildAssistantMessageFunction · 0.85

Tested by

no test coverage detected