feat: LLM-based personality and name generation (toggleable) - #116
Open
jpmalone0 wants to merge 4 commits into
Open
feat: LLM-based personality and name generation (toggleable)#116jpmalone0 wants to merge 4 commits into
jpmalone0 wants to merge 4 commits into
Conversation
6 tasks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Joseph Paul Malone <jpmalone0@gmail.com>
Adds server/generation.ts with generatePersonality and generateName using claude-haiku-4-5. The picker TUI prefetches name+personality asynchronously with a spinner as you navigate results; cached results are used at hatch with no second API call. Adds buddy_generate_personality and buddy_generate_name MCP tools for re-rolling on demand. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> working on personality generator Signed-off-by: Joseph Paul Malone <jpmalone0@gmail.com> personality generator update Signed-off-by: Joseph Paul Malone <jpmalone0@gmail.com> faster personality gen Signed-off-by: Joseph Paul Malone <jpmalone0@gmail.com>
Signed-off-by: Joseph Paul Malone <jpmalone0@gmail.com>
Adds llmGeneration config flag (default: true) so users who prefer the original deterministic template behavior can opt out. When disabled, generation falls back to seeded phrase templates — instant, no Claude CLI dependency, same personality every time for a given buddy. Toggle via /buddy style llm_generation false. buddy_generate_personality and buddy_generate_name always use LLM regardless (explicit user request). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Joseph Paul Malone <jpmalone0@gmail.com>
jpmalone0
force-pushed
the
feat/llm-personality-generation
branch
from
April 26, 2026 22:52
9faafd1 to
1aa4a1f
Compare
Owner
|
Hey @jpmalone0 — triaging open PRs after the project's big rename (claude-buddy → coding-buddy, plus native Pi / Oh My Pi extensions and npm publishing). This PR (and its sibling #117, which appears stacked on it) now conflicts with Are you still interested in landing this? If so, a rebase would be the next step and we'll review it properly. If we don't hear back in a couple of weeks we'll close these two as stale to keep the queue honest — always reopenable if you pick it back up. (Your #113/#114/#115 fixes are being merged, thanks for those!) 🤖 Created with the help of AI (Claude Fable 5). |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claudeCLI — produces more varied, stat-specific flavor textserver/generation.tswithgeneratePersonality,generateName, andgenerateBuddy; addsbuddy_generate_personalityandbuddy_generate_nameMCP tools for on-demand re-rollsllmGenerationconfig flag (default:true). When disabled, falls back to the original seeded phrase-template system — instant, no Claude CLI dependency, deterministic per buddy. Toggle with/buddy style llm_generation falseDesign notes
The toggle exists specifically for users who don't have Claude CLI available, prefer the deterministic behavior, or want faster generation. The template fallback (
templatePersonality/templateNameingeneration.ts) is a direct port of the originalengine.tslogic.buddy_generate_personalityandbuddy_generate_nametools always use LLM regardless of the toggle — they're explicit user requests.Test plan
buddy_generate_personalityandbuddy_generate_nametools work/buddy style llm_generation falseswitches to template generation (fast, no CLI call)bun test)