We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83893e5 commit 58652e4Copy full SHA for 58652e4
app/main.py
@@ -1,6 +1,6 @@
1
import logging
2
3
-from anthropic import Anthropic
+from anthropic import Anthropic, __version__ as AnthropicVersion
4
from app.config import settings
5
from fastapi import FastAPI
6
from mangum import Mangum
@@ -13,7 +13,7 @@
13
handler = Mangum(app)
14
15
anthropic_client = Anthropic(api_key=settings.anthropic_api_key)
16
-logger.info(f"Anthropic SDK version: {anthropic_client.__version__}")
+logger.info(f"Anthropic SDK version: {AnthropicVersion}")
17
18
19
@app.get("/")
0 commit comments