uday-rana / codeshift

A command-line tool that translates source code files into a chosen programming language.
MIT License
5 stars 4 forks source link

Add token info feature #10

Closed uday-rana closed 1 week ago

uday-rana commented 1 week ago

Add a new command-line flag: --token-usage or -t. When the program is run with the --token-usage/-t flag set, extra information will be reported to stderr about the number of tokens that were sent in the prompt and returned in the completion.

uday-rana commented 1 week ago

@mayank-Pareek