Skip to content

Shubhra/clean up real time model logs#729

Merged
Shubhrakanti merged 2 commits intomainfrom
shubhra/clean-up-real-time-model-logs
Sep 25, 2025
Merged

Shubhra/clean up real time model logs#729
Shubhrakanti merged 2 commits intomainfrom
shubhra/clean-up-real-time-model-logs

Conversation

@Shubhrakanti
Copy link
Copy Markdown
Contributor

@Shubhrakanti Shubhrakanti commented Sep 25, 2025

Toggle openAI realtime session logs with LK_OPENAI_DEBUG env variable. They are very noisy and should be enabled for very specific debugging purposes.

I also cleaned up the logs to keep the events as metadata so it's 100x easier to read them.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 25, 2025

🦋 Changeset detected

Latest commit: 1d8e5af

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@livekit/agents-plugin-openai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

} as api_proto.ConversationItemTruncateEvent);
}

/// Truncates the data field of the event to the specified maxLength to avoid overwhelming logs
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

raw audio data is useless to look at

@Shubhrakanti Shubhrakanti merged commit 7a13fe8 into main Sep 25, 2025
8 checks passed
@Shubhrakanti Shubhrakanti deleted the shubhra/clean-up-real-time-model-logs branch September 25, 2025 17:55
@github-actions github-actions bot mentioned this pull request Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants