Repository navigation
feat: プロンプトを YUI.md から読み込む promptFile を追加し、唯の人物像を刷新 - #31
Merged
Merged
Conversation
長いプロンプトを config.json の1行の JSON 文字列に詰めると編集・レビューが しづらいため、Markdown ファイルから読み込めるようにした。 promptFile は prompt より優先し、読み込めない場合は起動時にエラーにする。 Docker イメージにプロンプトファイル(YUI.md)を含めるため .dockerignore で除外を解除する。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
やみすきーの「やみ」は病みだけでなく闇でもある、というコンセプトに合わせて人物像を再設計した。 表面は物静かで内側に影がある17歳として、心理プロファイル・ネット上での振る舞い・ 状況ごとの反応・判断の優先順位を定義し、LLM に渡したときに人物像がぶれにくい構成にしている。 README の設定例も promptFile を使う形に置き換えた。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (5)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
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.
なぜ
config.jsonの1行の JSON 文字列に詰める今の形では、編集もレビューもしづらい。変更内容
feat(config):
promptFileを追加config.jsonにpromptFileを書くと、起動時にそのファイルの中身をpromptとして使う。promptと両方ある場合はpromptFileを優先する。相対パスは起動したディレクトリが基準(Docker では/ai)。.dockerignoreは*.mdでルート直下の Markdown を除外しているので、!YUI.mdを足してイメージに含める。docs(prompt): 唯のプロンプトを
YUI.mdとして刷新# 補足見出しで終えている。"promptFile": "YUI.md"に置き換えた。デプロイ時の作業
本番の
config.jsonに"promptFile": "YUI.md"を追加する。プロンプトを書き換えたときは、イメージの再ビルドが必要。🤖 Generated with Claude Code