Skip to content

Commit f772a9f

Browse files
authored
Merge pull request #358 from Scale3-Labs/development
Release: fix anthropic event completion attr
2 parents 61b79d3 + 5896458 commit f772a9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/langtrace_python_sdk/instrumentation/anthropic/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def set_response_attributes(
112112
if typ == "text":
113113
content = result.content[0].text
114114
set_event_completion(
115-
span, [{"type": typ, role: role, content: content}]
115+
span, [{"type": typ, "role": role, "content": content}]
116116
)
117117

118118
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.3.17"
1+
__version__ = "2.3.18"

0 commit comments

Comments
 (0)