samkeen / llm-bridge

Rust SDK for interacting with various Large Language Model (LLM) APIs
https://crates.io/crates/llm-bridge
MIT License
4 stars 0 forks source link

Add token use logging #2

Open samkeen opened 6 months ago

samkeen commented 6 months ago

The api call will return tokens used see: usage : https://docs.anthropic.com/claude/reference/messages_post