MCPcopy
hub / github.com/ConnectAI-E/feishu-openai / sendClearCacheCheckCard

Function sendClearCacheCheckCard

code/handlers/msg.go:696–704  ·  view source on GitHub ↗
(ctx context.Context,
	sessionId *string, msgId *string)

Source from the content-addressed store, hash-verified

694}
695
696func sendClearCacheCheckCard(ctx context.Context,
697 sessionId *string, msgId *string) {
698 newCard, _ := newSendCard(
699 withHeader("🆑 机器人提醒", larkcard.TemplateBlue),
700 withMainMd("您确定要清除对话上下文吗?"),
701 withNote("请注意,这将开始一个全新的对话,您将无法利用之前话题的历史信息"),
702 withClearDoubleCheckBtn(sessionId))
703 replyCard(ctx, msgId, newCard)
704}
705
706func sendSystemInstructionCard(ctx context.Context,
707 sessionId *string, msgId *string, content string) {

Callers 1

ExecuteMethod · 0.85

Calls 6

newSendCardFunction · 0.85
withHeaderFunction · 0.85
withMainMdFunction · 0.85
withNoteFunction · 0.85
withClearDoubleCheckBtnFunction · 0.85
replyCardFunction · 0.85

Tested by

no test coverage detected