Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ filterwarnings = [
"ignore:Pydantic V1 style `@validator` validators are deprecated:pydantic.warnings.PydanticDeprecatedSince20:fireworks\\.client\\.image_api",
# Silence fireworks generated protos deprecation about BaseModelDetails.tunable only
"ignore:BaseModelDetails\\.tunable is deprecated:DeprecationWarning:fireworks\\.control_plane\\.generated\\.protos\\.gateway.*",
# Silence Pydantic class-based `config` deprecation only when emitted from the `instructor` package
# The warning is emitted by pydantic internals even when triggered by `instructor`; target the emitter module precisely
"ignore:Support for class-based `config` is deprecated:pydantic.warnings.PydanticDeprecatedSince20:pydantic\\._internal\\._config",
]

[tool.coverage.run]
Expand Down
2 changes: 0 additions & 2 deletions src/any_llm/providers/anthropic/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ async def _acompletion(
params: CompletionParams,
**kwargs: Any,
) -> ChatCompletion | AsyncIterator[ChatCompletionChunk]:
"""Create a chat completion using Anthropic with instructor support."""

kwargs["provider_name"] = self.PROVIDER_NAME
converted_kwargs = self._convert_completion_params(params, **kwargs)

Expand Down
2 changes: 1 addition & 1 deletion src/any_llm/providers/bedrock/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


class BedrockProvider(AnyLLM):
"""AWS Bedrock Provider using boto3 and instructor for structured output."""
"""AWS Bedrock Provider using boto3."""

PROVIDER_NAME = "bedrock"
ENV_API_KEY_NAME = "AWS_BEARER_TOKEN_BEDROCK"
Expand Down
2 changes: 1 addition & 1 deletion src/any_llm/providers/cerebras/cerebras.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


class CerebrasProvider(AnyLLM):
"""Cerebras Provider using the official Cerebras SDK with instructor support for structured outputs."""
"""Cerebras Provider using the official Cerebras SDK."""

PROVIDER_NAME = "cerebras"
ENV_API_KEY_NAME = "CEREBRAS_API_KEY"
Expand Down
2 changes: 1 addition & 1 deletion src/any_llm/providers/groq/groq.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


class GroqProvider(AnyLLM):
"""Groq Provider using instructor for structured output."""
"""Groq Provider."""

PROVIDER_NAME = "groq"
ENV_API_KEY_NAME = "GROQ_API_KEY"
Expand Down
41 changes: 0 additions & 41 deletions src/any_llm/utils/instructor.py

This file was deleted.