transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
MIT License
16.07k stars 2.11k forks source link

Feat: use js-tiktoken/lite to reduce module size #610

Closed cctv1005s closed 6 months ago

cctv1005s commented 10 months ago

Ref: https://github.com/dqbd/tiktoken/issues/68

this could help to reduce the module size when deploying to lambda or somewhere else. (normally ~3MB)

cctv1005s commented 10 months ago

@transitive-bullshit Hi, could you help to review this PR?

cctv1005s commented 7 months ago

No one response to me, I created a new package: chatgpt-better