Skip to content

Commit 471b0e6

Browse files
committed
style(llmobs/openai-java): apply spotless formatting to SessionIdPropagationForkedTest
1 parent 3b695f0 commit 471b0e6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dd-java-agent/instrumentation/openai-java/openai-java-3.0/src/test/java/datadog/trace/instrumentation/openai_java/SessionIdPropagationForkedTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ void openAiRequestSpanInheritsSessionIdFromActiveContext() throws Exception {
7878

7979
AgentSpan parentSpan = AgentTracer.startSpan("test", "parent");
8080
try (AgentScope ignored1 = AgentTracer.activateSpan(parentSpan)) {
81-
try (ContextScope ignored2 =
82-
LLMObsContext.attach(parentSpan.context(), expectedSessionId)) {
81+
try (ContextScope ignored2 = LLMObsContext.attach(parentSpan.context(), expectedSessionId)) {
8382
try {
8483
openAiClient.chat().completions().create(buildMinimalChatParams());
8584
} catch (Exception ignored) {

0 commit comments

Comments
 (0)