DavidSouther / ailly

Your AI Writing Ally
Other
9 stars 6 forks source link

Add --context handling #43

Closed DavidSouther closed 5 months ago

DavidSouther commented 5 months ago

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.