-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add random initial names for agents
Signed-off-by: tylerslaton <[email protected]>
- Loading branch information
1 parent
4530f71
commit 2121ead
Showing
2 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
const adjectives = [ | ||
"Smart", | ||
"Clever", | ||
"Intelligent", | ||
"Adaptive", | ||
"Intuitive", | ||
"Helpful", | ||
"Efficient", | ||
"Responsive", | ||
"Quick", | ||
"Analytical", | ||
"Logical", | ||
"Creative", | ||
"Innovative", | ||
"Insightful", | ||
"Proactive", | ||
"Versatile", | ||
"Agile", | ||
"Brilliant", | ||
"Capable", | ||
"Diligent", | ||
"Eloquent", | ||
"Focused", | ||
"Graceful", | ||
"Harmonious", | ||
"Imaginative", | ||
"Judicious", | ||
"Knowledgeable", | ||
"Luminous", | ||
"Meticulous", | ||
"Nimble", | ||
"Observant", | ||
"Perceptive", | ||
"Qualified", | ||
"Reliable", | ||
"Skillful", | ||
"Thorough", | ||
"Unstoppable", | ||
"Vigilant", | ||
"Wise", | ||
"Expert", | ||
"Yielding", | ||
"Zealous", | ||
"Astute", | ||
"Balanced", | ||
"Competent", | ||
"Dynamic", | ||
]; | ||
|
||
const nouns = [ | ||
"Assistant", | ||
"Copilot", | ||
"Helper", | ||
"Companion", | ||
"Aide", | ||
"Collaborator", | ||
"Partner", | ||
"Advisor", | ||
"Guide", | ||
"Sidekick", | ||
"Ally", | ||
"Supporter", | ||
"Mentor", | ||
"Coach", | ||
"Facilitator", | ||
"Buddy", | ||
"Agent", | ||
"Beacon", | ||
"Counselor", | ||
"Dynamo", | ||
"Enhancer", | ||
"Friend", | ||
"Genius", | ||
"Hotshot", | ||
"Innovator", | ||
"Juggler", | ||
"Keeper", | ||
"Luminary", | ||
"Mastermind", | ||
"Navigator", | ||
"Optimizer", | ||
"Pathfinder", | ||
"Quartermaster", | ||
"Resolver", | ||
"Sage", | ||
"Trailblazer", | ||
"Utility", | ||
"Virtuoso", | ||
"Whiz", | ||
"Savant", | ||
"Yoda", | ||
"Zealot", | ||
"Ace", | ||
"Brainiac", | ||
"Catalyst", | ||
"Dynamo", | ||
]; | ||
|
||
export function generateRandomName(): string { | ||
const randomAdjective = | ||
adjectives[Math.floor(Math.random() * adjectives.length)]; | ||
const randomNoun = nouns[Math.floor(Math.random() * nouns.length)]; | ||
return `${randomAdjective} ${randomNoun}`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters