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

Detect filetype automatically if filetype isnt provided #2

Closed
josephsdavid opened this issue Dec 11, 2022 · 1 comment
Closed

Detect filetype automatically if filetype isnt provided #2

josephsdavid opened this issue Dec 11, 2022 · 1 comment

Comments

@josephsdavid
Copy link

Perhaps using python-magic

@morganpartee
Copy link
Owner

Yeah no duh right? I'm going to use the extension as the head of the markdown block. Shit, even hand in the filename to the prompt too as a comment or something, that might be useful context.

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

No branches or pull requests

2 participants