Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --context handling #43

Merged
merged 6 commits into from
Apr 15, 2024
Merged

Add --context handling #43

merged 6 commits into from
Apr 15, 2024

Conversation

DavidSouther
Copy link
Owner

Break --prompt, which formerly set the base system prompt, into --system (which does that) and --prompt, which adds a final /dev/stdout message to generate.

Add additional context modes (closes #32)

context none - send no additional context
context content - current alphabetical "predecessor" mode
context folder - sends all content in the folder

How to format these is up to the engine format function at this time. For bedrock/claude, content is passes as a stream of user/assistant responses. folder is sent as a big block of example text in the system prompt.

README.md Outdated Show resolved Hide resolved
cli/args.js Outdated Show resolved Hide resolved
@DavidSouther DavidSouther changed the base branch from feat/cleanup_20240412 to main April 15, 2024 14:35
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.

"context" modes
2 participants