thdoan

Results 62 comments of thdoan

@davidbannon Thanks for the information. If the Snapshots directory remains empty then I'm fine with it. In regards to Backups, do you want me to rename this ticket to apply...

I wish I knew how to program Lua so I could submit a PR myself....maybe someday since I always wanted to make a Roblox game ;).

@jdgamble555 for now I guess you can add to https://github.com/DefinitelyTyped/DefinitelyTyped

I also cannot install the example extension. Steps to reproduce: 1. Unzipped. 2. `npm install` 3. `npm run dev` ``` $ npm run dev > [email protected] dev > fly [21:39:02]...

I ended up defining my own type, but I still think this should be included in instructions: ``` export type ChatMessage = { role: 'assistant' | 'system' | 'user' |...

For Cloudflare Workers I suggest you look at this: https://github.com/dqbd/tiktoken#cloudflare-workers

Here's my quick fix to work around this issue, but this should really be handled automatically by the plugin: http://codepen.io/thdoan/full/jWwrEx/

@scyfox Awesome, I'm glad it helped somebody :)

I managed to fixed the error. Please update documentation to this: ``` const textEncoder = new TextEncoder(); const oneBlockInput = 'HellošŸ¤–!' // it takes a Uint8Array and returns a Uint8Array...