AgentOps-AI / tokencost

Easy token price estimates for 400+ LLMs. TokenOps.
https://agentops.ai
MIT License
1.48k stars 61 forks source link

69 error occure when use azure model #72

Closed areibman closed 3 months ago

areibman commented 3 months ago

The issue is unrelated (user was querying an invalid model name) but we did have an issue where we were always assuming the wrong tokenizer for non-openai inference providers like Azure.

This pr fixes that