Skip to content

Commit

Permalink
Update client.py (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend-cohere committed Mar 27, 2024
1 parent 86d5a64 commit ac7e7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cohere/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __exit__(self, exc_type, exc_value, traceback):

wait = wait

_executor = ThreadPoolExecutor()
_executor = ThreadPoolExecutor(64)

def embed(
self,
Expand Down Expand Up @@ -221,7 +221,7 @@ async def __aexit__(self, exc_type, exc_value, traceback):

wait = async_wait

_executor = ThreadPoolExecutor()
_executor = ThreadPoolExecutor(64)

async def embed(
self,
Expand Down

0 comments on commit ac7e7c4

Please sign in to comment.