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

Function sendVisionModeCheckCard

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

Source from the content-addressed store, hash-verified

740 replyCard(ctx, msgId, newCard)
741}
742func sendVisionModeCheckCard(ctx context.Context,
743 sessionId *string, msgId *string) {
744 newCard, _ := newSendCard(
745 withHeader("🕵️ 机器人提醒", larkcard.TemplateBlue),
746 withMainMd("检测到图片,是否进入图片推理模式?"),
747 withNote("请注意,这将开始一个全新的对话,您将无法利用之前话题的历史信息"),
748 withVisionModeDoubleCheckBtn(sessionId))
749 replyCard(ctx, msgId, newCard)
750}
751
752func sendNewTopicCard(ctx context.Context,
753 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
replyCardFunction · 0.85

Tested by

no test coverage detected