Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(logging): include system prompt in debug logs in case of response…#1154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
HafizFasih wants to merge3 commits intoopenai:main
base:main
Choose a base branch
Loading
fromHafizFasih:fix-responses-api-system-instructions-logs

Conversation

HafizFasih
Copy link
Contributor

Previously, the debug logs for LLM calls only showed user prompts while using responses api,
which made it harder to trace full context during issues. This
change prepends the system prompt to the logged input messages,
without mutating the original input list.

The system prompt is included conditionally (only if present),
and is used for logging only.

This improves debuggability and traceability of agent interactions.

@seratchseratch added documentationImprovements or additions to documentation enhancementNew feature or request feature:core labelsJul 16, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@seratchseratchseratch requested changes

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
documentationImprovements or additions to documentationenhancementNew feature or requestfeature:core
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@HafizFasih@seratch

[8]ページ先頭

©2009-2025 Movatter.jp