From e1f48d2d97a46917ee9ca817da07b177832153a8 Mon Sep 17 00:00:00 2001 From: nac7 <29607512+nac7@users.noreply.github.com> Date: Sun, 23 Aug 2026 18:19:41 -0500 Subject: [PATCH] docs: fix stale filename in docstring, drop redundant comments (greptile) --- .../prompt_portability_check/check_before_provider_swap.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cookbook/prompt_portability_check/check_before_provider_swap.py b/cookbook/prompt_portability_check/check_before_provider_swap.py index 813e9bda531..fa24f6168dd 100644 --- a/cookbook/prompt_portability_check/check_before_provider_swap.py +++ b/cookbook/prompt_portability_check/check_before_provider_swap.py @@ -22,7 +22,7 @@ Install: pip install prompt-portability litellm Run: - python prompt_portability_litellm_check.py + python check_before_provider_swap.py """ from __future__ import annotations @@ -31,8 +31,6 @@ import litellm from llm_prompt_lint.linter import lint from llm_prompt_lint.parsers import detect_and_parse -# A request written and tested against OpenAI, about to be pointed at a -# different provider via LiteLLM's `model=` switch. request = { "model": "gpt-4o", "messages": [ @@ -61,8 +59,6 @@ if report.findings: "the new provider." ) -# LiteLLM's own call succeeds regardless -- it standardizes the transport, -# not the content, which is exactly the gap prompt-portability closes. response = litellm.completion( model="gpt-4o", messages=request["messages"],