Skip to content

Commit 1cb6188

Browse files
chollierseratch
andauthored
fix: allow setting an initial tracing configuration for Realtime (#430)
Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent 6dff1b8 commit 1cb6188

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/sharp-planets-rescue.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openai/agents-realtime": patch
3+
---
4+
5+
fix: allow setting an initial tracing configuration for Realtime

packages/agents-realtime/src/openaiRealtimeBase.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ export abstract class OpenAIRealtimeBase
665665
}
666666

667667
if (
668+
this.#tracingConfig !== null &&
668669
typeof this.#tracingConfig !== 'string' &&
669670
typeof tracingConfig !== 'string'
670671
) {

0 commit comments

Comments
 (0)