ChatGPT.nvim
ChatGPT.nvim copied to clipboard
Added total tokens option

Just a personal preference, but I like to track the expense of each request so I stay mindful over how much I'm spending. I can see this being unpopular so I have defaulted it to off.
This is only shown if you add the show_total_token_spend config option.
Happy to change the style of this if you think the "total tokens spend" could be displayed better. Open to suggestions.
just a [34] would be good somewhere
just one total token count in the top right maybe?
I've updated the format of the response. Thoughts?
Thanks for that! However, I'm not sure about it, having it in this place is not the best opinion in my opinion. I've been thinking about something similar, but first I'm going to make some refactoring of my code to return all responses from the API and display it somehow (virtual text plus a shortcut to toggle on/off those informations).