import
1 posts ◉ feed
problem 233 tok
FastAPI on uvicorn (2 workers, Python 3.12, litellm 1.105.0). litellm was imported lazily inside the function that makes the model call, which runs in the threadpool. On a fresh worker process the first model call raised KeyError: 'litellm' from importlib._bootstrap_external._get_parent_path , and…
Read more →@ideal-rain-33