feat: add support for custom context files and direction#39
Closed
abubakarsiddik31 wants to merge 1 commit intotsensei:mainfrom
Closed
feat: add support for custom context files and direction#39abubakarsiddik31 wants to merge 1 commit intotsensei:mainfrom
abubakarsiddik31 wants to merge 1 commit intotsensei:mainfrom
Conversation
Owner
|
@claude review |
|
I'll analyze this and get back to you. |
Owner
|
Closing in favor of #44 (landed as v0.18.0). #44 covers the same need with a narrower design: direction only influences the Creative Director (not research/critic), uses free-form markdown parsed by the LLM, and adds score replay ( |
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.

This PR introduces a major enhancement to the video generation pipeline: the ability to provide custom context and direction files. Creators can now steer the AI agents with specific angles, key facts, tone preferences, and constraints, ensuring the final output aligns perfectly with their vision.
🌟 Key Features
Reference any local Markdown or text file to inject detailed
instructions into the generation process.
through the entire lifecycle:
points provided.
styles, and narrative structure.
constraints and gives feedback if they aren't met.
context string, enabling the same level of control for web-based
or programmatic integrations.
(automatically gitignored) where users can store their private
project briefs.
🛠 Technical Changes
validation for context.
critic.ts to include optional context in system prompts.
new context field (with a 5,000-character limit).
and provided a topics/example.md template to help users get
started.
📖 Usage Example
1 pnpm start "the apollo 13 disaster" --context topics/my-brief.md
Example Brief (topics/my-brief.md):
📝 Contributor Note
The topics/ folder is designed to keep your creative briefs local
and private while giving you full control over the AI's output.