Skip to content

feat: 自動投稿でも唯の人物設定を使う - #33

Merged
hitalin merged 1 commit into
masterfrom
feat/auto-note-with-persona
Oct 9, 2026
Merged

hitalin merged 1 commit into
masterfrom
feat/auto-note-with-persona

Conversation

@hitalin

@hitalin hitalin commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

なぜ

autoNotePrompt を設定すると、自動投稿のときは autoNotePrompt だけが渡され、prompt(YUI.md)の人物設定がまるごと使われていなかった。そのせいで、自動投稿だけ唯らしくない文章になっていた。

変更内容

  • buildAutoNotePrompt を追加した。人物設定の prompt の後ろに autoNotePrompt をつなげて渡す。
    • 使う場所は、Gemini の自動ノート(aichat)と、天気に合わせた投稿(noting)の2つ。
  • テストを追加した。
  • README の autoNotePrompt の説明を「投稿内容の指示だけを書けばよい」に変え、設定例を唯向けの独り言の指示に差し替えた。

デプロイ時の作業

本番の config.json の autoNotePrompt を、README の設定例に差し替える。

🤖 Generated with Claude Code

autoNotePrompt を設定すると prompt(YUI.md)の人物設定が使われず、
自動投稿だけキャラクターがぶれていた。prompt の後ろに autoNotePrompt を続ける形にし、
autoNotePrompt には投稿内容の指示だけを書けばよいようにした。
README の autoNotePrompt の説明と設定例も唯に合わせて更新。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hitalin
hitalin merged commit 712eec1 into master Oct 9, 2026
3 of 4 checks passed
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d2c979f8-7a3c-4deb-afe8-53db74a169fd

📥 Commits

Reviewing files that changed from the base of the PR and between 01f35f6 and 8a8a9c8.


📒 Files selected for processing (5)
  • README.md
  • src/modules/aichat/index.ts
  • src/modules/aichat/prompt.test.ts
  • src/modules/aichat/prompt.ts
  • src/modules/noting/index.ts

 ____________________________________________________________________
< I've been trying to reach you about your code's extended warranty. >
 --------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant