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

Function sendSystemInstructionCard

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

Source from the content-addressed store, hash-verified

704}
705
706func sendSystemInstructionCard(ctx context.Context,
707 sessionId *string, msgId *string, content string) {
708 newCard, _ := newSendCard(
709 withHeader("🥷 已进入角色扮演模式", larkcard.TemplateIndigo),
710 withMainText(content),
711 withNote("请注意,这将开始一个全新的对话,您将无法利用之前话题的历史信息"))
712 replyCard(ctx, msgId, newCard)
713}
714
715func sendPicCreateInstructionCard(ctx context.Context,
716 sessionId *string, msgId *string) {

Callers 2

ExecuteMethod · 0.85
CommonProcessRoleFunction · 0.85

Calls 5

newSendCardFunction · 0.85
withHeaderFunction · 0.85
withMainTextFunction · 0.85
withNoteFunction · 0.85
replyCardFunction · 0.85

Tested by

no test coverage detected