Skip to content

enhance responses api with moderation check, llm log and trace#1245

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2685_6163b44
Jul 9, 2026
Merged

enhance responses api with moderation check, llm log and trace#1245
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2685_6163b44

Conversation

@Rader

@Rader Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Enhanced the Responses API with prompt/response moderation, LLM logging, and tracing to align security and observability capabilities with the Chat Completions API.
  • Refactored the codebase by extracting Responses-specific helpers, DTOs, and normalization logic into a dedicated aigateway/handler/responses package.
  • Introduced a new configuration OPENCSG_AIGATEWAY_LLM_TRACE_TOOL_DEFINITIONS_MODE to control the granularity of tool definitions recorded in traces.

@Rader

Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

Depends on #1244

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@HaiHui886
HaiHui886 merged commit ec296c0 into main Jul 9, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2685_6163b44 branch July 9, 2026 05:41
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.

3 participants