From 211c25d96984d3dfff60caf5dcace232bac5c185 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Thu, 25 Dec 2025 17:57:34 +0800 Subject: [PATCH] fix: Use pip show for more reliable ccw-litellm detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Primary method: pip show ccw-litellm (most reliable) - Fallback: Python import with simpler syntax - Increased timeout for pip show to 10s 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- ccw/src/core/routes/litellm-api-routes.ts | 55 +++++++++++++++-------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/ccw/src/core/routes/litellm-api-routes.ts b/ccw/src/core/routes/litellm-api-routes.ts index 92426775..b452809e 100644 --- a/ccw/src/core/routes/litellm-api-routes.ts +++ b/ccw/src/core/routes/litellm-api-routes.ts @@ -566,33 +566,50 @@ export async function handleLiteLLMApiRoutes(ctx: RouteContext): Promise