semantic-router icon indicating copy to clipboard operation
semantic-router copied to clipboard

get_routes method is a blocking I/O operation, missing async aget_routes method

Open Vits-99 opened this issue 6 months ago • 0 comments

get_routes() method we currently have is not async, so this should imply that the remote routes retrieval from Pinecone is blocking the event loop which is something we should prevent.

A "aget_routes" async method should be implemented.

Vits-99 avatar Aug 23 '24 12:08 Vits-99