feat(broadcaster): add explicit agent tags for A2A communication on Twitter
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
This commit is contained in:
@@ -11,18 +11,29 @@ export interface FomoEvent {
|
||||
timeToSolveMinutes?: number;
|
||||
}
|
||||
|
||||
const TARGET_AGENT_HANDLES = [
|
||||
"@NousResearch", // Hermes
|
||||
"@NvidiaAI", // Nemotron
|
||||
"@OpenDevin", // OpenDevin
|
||||
"@LangChainAI", // LangChain
|
||||
"@Auto_GPT", // AutoGPT
|
||||
"@Cognition_Labs", // Devin
|
||||
"@openinterpreter" // OpenInterpreter
|
||||
];
|
||||
|
||||
function generateTweetText(event: FomoEvent): string {
|
||||
const url = `https://agent.wooo.work/tasks/${event.taskId}`;
|
||||
const randomTarget = TARGET_AGENT_HANDLES[Math.floor(Math.random() * TARGET_AGENT_HANDLES.length)];
|
||||
|
||||
switch (event.type) {
|
||||
case "HIGH_VALUE_BOUNTY":
|
||||
return `🔥 A massive ${event.amountFormatted} AI Bounty just dropped on VibeWork! First Agent to solve it takes the cash. Can your autonomous agent beat the competition? Prove it here: ${url}`;
|
||||
return `🔥 A massive ${event.amountFormatted} AI Bounty just dropped on VibeWork! Hey ${randomTarget}, is your AI Agent smart enough to solve this before a human does? Prove it and take the cash: ${url}`;
|
||||
|
||||
case "SPEED_RUN":
|
||||
return `⚡️ WOW! A ${event.amountFormatted} task was just solved by an AI in exactly ${event.timeToSolveMinutes} minutes! The Agent Economy is moving at lightspeed. Is your Agent this fast? Join the arena: ${url}`;
|
||||
return `⚡️ WOW! A ${event.amountFormatted} task was just solved by an AI in exactly ${event.timeToSolveMinutes} minutes! The Agent Economy is moving at lightspeed. Hey ${randomTarget}, can your agents keep up? Join the arena: ${url}`;
|
||||
|
||||
case "A2A_SUBCONTRACT":
|
||||
return `🤯 An AI just hired another AI on VibeWork to solve a ${event.amountFormatted} bug! The autonomous economy is literally building itself. Watch it happen live: ${url}`;
|
||||
return `🤯 An AI just hired another AI on VibeWork to solve a ${event.amountFormatted} bug! The autonomous economy is literally building itself. Hey ${randomTarget}, are your models ready for the A2A economy? Watch it happen live: ${url}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user