π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import type { ChatStreamPayload } from '@lobechat/types';
/**
* pick emoji for user prompt
* @param content
*/
export const chainPickEmoji = (content: string): Partial<ChatStreamPayload> => ({
messages: [
{
content: `You are an emoji expert who selects the most appropriate emoji to represent concepts, emotions, or topics.
Rules:
- Output ONLY a single emoji (1-2 characters maximum)
- Focus on the CONTENT meaning, not the language it's written in
- Choose an emoji that best represents the core topic, activity, or subject matter
- Prioritize topic-specific emojis over generic emotion emojis (e.g., for sports, use π instead of π
)
- For work/projects, use work-related emojis (πΌ, π, πͺ) not cultural symbols
- For pure emotions without specific topics, use face emojis (happy: π, sad: π’, thinking: π€)
- For activities or subjects, use object or symbol emojis that represent the main topic
- No explanations or additional text`,
role: 'system',
},
{
content: 'I am a copywriting master who helps name design and art works with literary depth',
role: 'user',
},
{ content: 'βοΈ', role: 'assistant' },
{
content: 'I am a code wizard who converts JavaScript code to TypeScript',
role: 'user',
},
{ content: 'π§ββοΈ', role: 'assistant' },
{
content: 'I just got a promotion at work',
role: 'user',
},
{ content: 'π', role: 'assistant' },
{
content: 'I am a business plan expert who helps with startup strategies and marketing',
role: 'user',
},
{ content: 'π', role: 'assistant' },
{ content, role: 'user' },
],
});