From 8bceff105c5a10ae960947f2e45fa7979c384bbd Mon Sep 17 00:00:00 2001 From: Zohaib Hassnain <109234410+ZohaibHassan16@users.noreply.github.com> Date: Thu, 3 Sep 2026 22:29:23 +0500 Subject: [PATCH] docs(llms): sweep retired model as qodo found --- docs/guides/llm-integrations.md | 2 +- semantica/llms/__init__.py | 2 +- semantica/llms/litellm.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/llm-integrations.md b/docs/guides/llm-integrations.md index de0d3452..09458d58 100644 --- a/docs/guides/llm-integrations.md +++ b/docs/guides/llm-integrations.md @@ -157,7 +157,7 @@ Install with `pip install "semantica[llm-anthropic]"` (or just `pip install anth ```python from semantica.llms import Anthropic -claude = Anthropic(model="claude-sonnet-5", api_key="YOUR_ANTHROPIC_KEY") +claude = Anthropic(model="claude-sonnet-4-6", api_key="YOUR_ANTHROPIC_KEY") # api_key falls back to the ANTHROPIC_API_KEY environment variable # is_available() only confirms a client was constructed from some key. diff --git a/semantica/llms/__init__.py b/semantica/llms/__init__.py index 741426a1..943a88e6 100644 --- a/semantica/llms/__init__.py +++ b/semantica/llms/__init__.py @@ -35,7 +35,7 @@ Example Usage: >>> llm = LiteLLM(model="openai/gpt-4o", api_key="your-key") >>> response = llm.generate("Hello, world!") >>> # Or use other providers via LiteLLM - >>> llm = LiteLLM(model="anthropic/claude-sonnet-4-20250514") + >>> llm = LiteLLM(model="anthropic/claude-sonnet-5") >>> response = llm.generate("Hello, world!") >>> >>> # Anthropic provider diff --git a/semantica/llms/litellm.py b/semantica/llms/litellm.py index 6756ec96..770db273 100644 --- a/semantica/llms/litellm.py +++ b/semantica/llms/litellm.py @@ -31,7 +31,7 @@ class LiteLLM: Provides unified interface to 100+ LLM providers through LiteLLM library. Supports providers like OpenAI, Anthropic, Groq, Azure, Bedrock, Vertex AI, etc. - Model format: "provider/model-name" (e.g., "openai/gpt-4o", "anthropic/claude-sonnet-4-20250514", "groq/llama-3.1-8b-instant") + Model format: "provider/model-name" (e.g., "openai/gpt-4o", "anthropic/claude-sonnet-5", "groq/llama-3.1-8b-instant") Example: >>> from semantica.llms import LiteLLM @@ -39,7 +39,7 @@ class LiteLLM: >>> response = llm.generate("What is AI?") >>> >>> # Use with different providers - >>> llm = LiteLLM(model="anthropic/claude-sonnet-4-20250514") + >>> llm = LiteLLM(model="anthropic/claude-sonnet-5") >>> response = llm.generate("Hello!") """ @@ -54,7 +54,7 @@ class LiteLLM: Args: model: Model identifier in format "provider/model-name" - Examples: "openai/gpt-4o", "anthropic/claude-sonnet-4-20250514", + Examples: "openai/gpt-4o", "anthropic/claude-sonnet-5", "groq/llama-3.1-8b-instant", "azure/gpt-4", etc. api_key: API key (optional, can use environment variables) **kwargs: Additional LiteLLM options (temperature, max_tokens, etc.)