Skip to content
Open
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
11 changes: 1 addition & 10 deletions openagent_eval/providers/llm/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
ProviderExecutionError,
)
from openagent_eval.providers.base.llm import LLMProvider
from openagent_eval.providers.models import LLMResponse, TokenUsage
from openagent_eval.providers.models import TokenUsage


class Anthropic(LLMProvider):
Expand Down Expand Up @@ -201,15 +201,6 @@ async def generate(self, prompt: str, **kwargs: Any) -> str:

latency_ms = (time.time() - start_time) * 1000

# Build standardized response
LLMResponse(
content=content,
model=response.model,
usage=usage,
provider="anthropic",
latency_ms=latency_ms,
)

return content

except anthropic.APIConnectionError as e:
Expand Down
Loading