Skip to content
Draft
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
608 changes: 26 additions & 582 deletions packages/opentelemetry-instrumentation-agno/poetry.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions packages/opentelemetry-instrumentation-agno/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ readme = "README.md"
include = "opentelemetry/instrumentation/agno"

[tool.poetry.dependencies]
python = ">=3.9,<4"
python = ">=3.10,<4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔

opentelemetry-api = "^1.28.0"
opentelemetry-instrumentation = ">=0.59b0"
opentelemetry-semantic-conventions = ">=0.59b0"
opentelemetry-semantic-conventions-ai = "^0.4.13"
urllib3 = "^2.5.0"

[tool.poetry.group.dev.dependencies]
autopep8 = "^2.2.0"
Expand All @@ -36,7 +37,7 @@ agno = ">=2.2.2"
openai = "^1.52.2"
pytest = "^8.2.2"
pytest-sugar = "1.0.0"
vcrpy = "^6.0.1"
vcrpy = { git = "https://github.com/kevin1024/vcrpy.git", branch = "master" }
pytest-recording = "^0.13.1"
pytest-asyncio = "^0.23.7"
opentelemetry-sdk = "^1.27.0"
Expand Down
333 changes: 172 additions & 161 deletions packages/opentelemetry-instrumentation-alephalpha/poetry.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ readme = "README.md"
include = "opentelemetry/instrumentation/alephalpha"

[tool.poetry.dependencies]
python = ">=3.9,<4"
python = ">=3.10,<4"
opentelemetry-api = "^1.38.0"
opentelemetry-instrumentation = ">=0.59b0"
opentelemetry-semantic-conventions = ">=0.59b0"
opentelemetry-semantic-conventions-ai = "^0.4.13"
urllib3 = "^2.5.0"
requests = "^2.32.4"
aiohttp = "^3.12.14"

[tool.poetry.group.dev.dependencies]
autopep8 = "^2.2.0"
Expand All @@ -39,7 +42,7 @@ pytest-sugar = "1.0.0"
aleph_alpha_client = "^7.1.0"
pytest = "^8.2.2"
pytest-sugar = "1.0.0"
vcrpy = "^6.0.1"
vcrpy = { git = "https://github.com/kevin1024/vcrpy.git", branch = "master" }
pytest-recording = "^0.13.1"
pytest-asyncio = "^0.23.7"
opentelemetry-sdk = "^1.38.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,11 @@ async def aset_input_attributes(span, kwargs):
span, f"{prefix}.input_schema", json.dumps(input_schema)
)

# Check for output_format in kwargs or extra_body
output_format = kwargs.get("output_format")
if not output_format and kwargs.get("extra_body"):
output_format = kwargs.get("extra_body").get("output_format")

if output_format and isinstance(output_format, dict):
if output_format.get("type") == "json_schema":
schema = output_format.get("schema")
Expand Down
539 changes: 70 additions & 469 deletions packages/opentelemetry-instrumentation-anthropic/poetry.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ readme = "README.md"
include = "opentelemetry/instrumentation/anthropic"

[tool.poetry.dependencies]
python = ">=3.9,<4"
python = ">=3.10,<4"
opentelemetry-api = "^1.38.0"
opentelemetry-instrumentation = ">=0.59b0"
opentelemetry-semantic-conventions = ">=0.59b0"
opentelemetry-semantic-conventions-ai = "^0.4.13"
urllib3 = "^2.5.0"

[tool.poetry.group.dev.dependencies]
autopep8 = "^2.2.0"
Expand All @@ -39,7 +40,7 @@ pytest-sugar = "1.0.0"
anthropic = {extras = ["bedrock"], version = ">=0.74.0"}
pytest = "^8.2.2"
pytest-sugar = "1.0.0"
vcrpy = "^6.0.1"
vcrpy = { git = "https://github.com/kevin1024/vcrpy.git", branch = "master" }
pytest-recording = "^0.13.1"
opentelemetry-sdk = "^1.38.0"
pytest-asyncio = "^0.23.7"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_anthropic_structured_outputs_legacy(
"content": "Tell me a joke about OpenTelemetry and rate it from 1 to 10"
}
],
output_format=OUTPUT_FORMAT
extra_body={"output_format": OUTPUT_FORMAT}
)

spans = span_exporter.get_finished_spans()
Expand Down Expand Up @@ -100,7 +100,7 @@ def test_anthropic_structured_outputs_with_events_with_content(
"content": "Tell me a joke about OpenTelemetry and rate it from 1 to 10"
}
],
output_format=OUTPUT_FORMAT
extra_body={"output_format": OUTPUT_FORMAT}
)

spans = span_exporter.get_finished_spans()
Expand Down Expand Up @@ -129,7 +129,7 @@ def test_anthropic_structured_outputs_with_events_with_no_content(
"content": "Tell me a joke about OpenTelemetry and rate it from 1 to 10"
}
],
output_format=OUTPUT_FORMAT
extra_body={"output_format": OUTPUT_FORMAT}
)

spans = span_exporter.get_finished_spans()
Expand Down
262 changes: 29 additions & 233 deletions packages/opentelemetry-instrumentation-bedrock/poetry.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions packages/opentelemetry-instrumentation-bedrock/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ readme = "README.md"
include = "opentelemetry/instrumentation/bedrock"

[tool.poetry.dependencies]
python = ">=3.9,<4"
python = ">=3.10,<4"
opentelemetry-api = "^1.38.0"
opentelemetry-instrumentation = ">=0.59b0"
opentelemetry-semantic-conventions = ">=0.59b0"
opentelemetry-semantic-conventions-ai = "^0.4.13"
urllib3 = "^2.5.0"
requests = "^2.32.4"
anthropic = ">=0.17.0"
tokenizers = ">=0.13.0"

Expand All @@ -37,7 +39,7 @@ flake8 = "7.0.0"

[tool.poetry.group.test.dependencies]
boto3 = "^1.34.120"
vcrpy = "^6.0.1"
vcrpy = { git = "https://github.com/kevin1024/vcrpy.git", branch = "master" }
pytest = "^8.2.2"
pytest-sugar = "1.0.0"
pytest-recording = "^0.13.1"
Expand Down
Loading