transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
https://agentic.so
MIT License
16.38k stars 2.14k forks source link

try to fix prompt token count #546

Closed zhujunsan closed 1 year ago

zhujunsan commented 1 year ago

according to openai's notebook

the response token count is accurate

transitive-bullshit commented 1 year ago

Thanks @zhujunsan 🙏

Going to close this in favor of #548

Sorry I haven't had much time to respond to PRs lately.