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]: Get logger from tracing folder instead of agents folder#839

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
cerebrai wants to merge9 commits intoopenai:main
base:main
Choose a base branch
Loading
fromcerebrai:main

Conversation

cerebrai
Copy link

The SDK is supposed to have two loggers:

  1. The "openai.agents" logger imported from agents/logger.py
  2. The "openai.agents.tracing" logger imported from agents/tracing/logger.py

The code in the tracing folder is importing the logger from the agents folder instead of the one in the tracing folder.

This pull request resolves the issue by importing the logger from the correct location for the following files:

  1. agents/tracing/create.py
  2. agents/tracing/processors.py
  3. agents/tracing/scope.py
  4. agents/tracing/setup.py
  5. agents/tracing/traces.py
  6. agents/tracing/spans.py

…mporting from agents/tracing/logger.py instead of agents/logger.py
@rm-openai
Copy link
Collaborator

Hmm i approved but I think I actually did this intentionally. Trying to remember why now.

@cerebrai
Copy link
Author

I am not sure what is the next step to merge this PR and close it :)

@github-actionsGitHub Actions
Copy link
Contributor

This PR is stale because it has been open for 10 days with no activity.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rm-openairm-openairm-openai approved these changes

@akhilsmokieakhilsmokieakhilsmokie approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@cerebrai@rm-openai@akhilsmokie@seratch

[8]ページ先頭

©2009-2025 Movatter.jp