callstack / ai-cli

AI assistant in your terminal.
https://callstack.github.io/ai-cli/
MIT License
21 stars 0 forks source link

feat: add file to conversation #24

Closed Q1w1N closed 6 months ago

Q1w1N commented 6 months ago

This adds a feature to add a whole file to conversation.

Summary

Adding a file results in displaying a token count, and attaching the file along with additional system prompt informing assistant about it's context.

Test plan

Tested locally with recipe.txt file