Skip to content

Conversation

@Jai0401
Copy link
Contributor

@Jai0401 Jai0401 commented Mar 11, 2025

"We process the tool calls (if any) and append the tool responses messsages."
→ "We process the tool calls (if any) and append the tool response messages." (typo: "messsages" → "messages")
"If the response has a final output (see below for the more on this), we return it and end the loop."
→ "If the response has a final output (see below for more on this), we return it and end the loop." (remove "the")

@sbera77
Copy link
Contributor

sbera77 commented Mar 11, 2025

Hi, the changes in your PR appears to duplicate the modifications already proposed in PR #4

@Jai0401
Copy link
Contributor Author

Jai0401 commented Mar 11, 2025

Hi @notV3NOM , PR #4 seems quite cluttered with duplicate or overlapping changes.

@Jai0401
Copy link
Contributor Author

Jai0401 commented Mar 11, 2025

Hi @rm-openai, could you please review my PR when you have a moment?

@rm-openai rm-openai merged commit c8f3cdd into openai:main Mar 12, 2025
5 checks passed
DIZ-admin pushed a commit to DIZ-admin/openai-agents-python that referenced this pull request Nov 18, 2025
Implemented DRY principle for event logging with EventEmitter class. Features: - EventEmitter class for centralized event handling - Standardized Event structure with type, severity, context - EventType and EventSeverity enums for type safety - Convenience methods (emit_started, emit_completed, emit_failed, etc.) - Automatic context enrichment with session/batch IDs Refactored Components: - validation_report.py - Replaced direct logger calls with EventEmitter Benefits: - Eliminates duplicate logger calls (~40% code reduction) - Consistent event structure across all components - Type-safe event definitions - Easy to add metrics/monitoring integration - Improved maintainability Tests: 18/18 passing Resolves: openai#13 (HIGH priority) Impact: Improves code maintainability and reduces duplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants