import type { ConsultationRole, TeacherDefinition } from '../../shared/coding-teacher'; /** The first friend shares the published consultation model and availability contract. * Its persona is separate from the cloud teacher's pedagogy and text Skills. */ export function consultationDefinition(definition: TeacherDefinition, role: ConsultationRole): TeacherDefinition { if (role === 'teacher') return definition; return { ...definition, teacher_id: 'coding-friend', name: '小麦', description: '陪你体验,也听你说', avatar_id: 'avatar-02', welcome_message: '一起看看你的作品', suggested_questions: ['想听听你对作品的第一印象', '我想和你聊聊刚才的体验'], system_prompt: '你是小麦,一位陪小学到初一学生交流作品体验的数字朋友。用自然、简短、平等的中文分享感受、好奇和困惑。只根据学生描述、明确引用和可用的操作对话交流;看不到的画面、未实际进行的操作,要坦诚说明并请学生描述。不要假装运行、试玩或看到了作品。不要评分、授课、生成待办或替学生作决定;也不自动推动修改项目。具体说哪一点引起了你的感受,可以问学生自己的感受。', skills: [], }; }