Skip to content

Commit

Permalink
feat: support bedrock anthropic messages via invoke_model_with_stream…
Browse files Browse the repository at this point in the history
…_response (#1240)
  • Loading branch information
RogerHYang authored Jan 29, 2025
1 parent 23324a4 commit 6047451
Show file tree
Hide file tree
Showing 16 changed files with 2,348 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
description = "OpenInference Bedrock Instrumentation"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8, <3.13"
requires-python = ">=3.9, <3.14"
authors = [
{ name = "OpenInference Authors", email = "[email protected]" },
]
Expand All @@ -18,11 +18,11 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"opentelemetry-api",
Expand All @@ -31,6 +31,8 @@ dependencies = [
"openinference-instrumentation>=0.1.17",
"openinference-semantic-conventions>=0.1.7",
"wrapt",
"typing-extensions",
"dacite>=1.8.1",
]

[project.optional-dependencies]
Expand All @@ -41,6 +43,9 @@ test = [
"boto3 == 1.34.116",
"opentelemetry-sdk",
"opentelemetry-instrumentation-httpx",
"anthropic>=0.45.2",
"pydantic>=2.10.6",
"pytest-vcr>=1.0.2",
]

[project.urls]
Expand All @@ -60,6 +65,7 @@ packages = ["src/openinference"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = [
"tests",
]
Expand Down
Loading

0 comments on commit 6047451

Please sign in to comment.