# Token count fix \(\#2935\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bbeb82f8840c120ef652c38b683793109baaf491)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bbeb82f8840c120ef652c38b683793109baaf491

Requested commit: bbeb82f8840c120ef652c38b683793109baaf491

Commit: bbeb82f8840c120ef652c38b683793109baaf491

Tree: c1f613da2576f49a0891564ef23350c9519cba25

Author: Kyle Caverly

Committer: GitHub

## Message

```
Token count fix (#2935)

Fix token count for OpenAIEmbeddings

Release Notes (Preview Only)

- update token count calculation for truncated OpenAIEmbeddings
- increased request timeout for OpenAI
```

## Parents

- [f4237ace407d60d51f8aa362326fbb0991df96d8](https://git.cafe/gitcafe/zed/commit/f4237ace407d60d51f8aa362326fbb0991df96d8?format=markdown)

- [265d02a583b01dd7b5e829f77efbfd415bec603e](https://git.cafe/gitcafe/zed/commit/265d02a583b01dd7b5e829f77efbfd415bec603e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bbeb82f8840c120ef652c38b683793109baaf491?format=markdown)
