Skip to content

feat(composite): enforce reasoning effort policy - #5171

Merged
Wei-Shaw merged 1 commit into
Wei-Shaw:mainfrom
heathermhuang:codex/composite-reasoning-policy
Aug 3, 2026
Merged

Wei-Shaw merged 1 commit into
Wei-Shaw:mainfrom
heathermhuang:codex/composite-reasoning-policy

Conversation

@heathermhuang

Copy link
Copy Markdown
Contributor

Summary

  • allow Composite groups to configure the existing OpenAI reasoning-effort ceiling and mappings
  • enforce the policy only when a Composite request resolves to an OpenAI target across Responses, Chat Completions, WebSocket turns, and the Messages bridge
  • preserve omitted effort values and leave Grok or other concrete targets unchanged

Validation

  • go test -tags=unit ./...
  • go test -p 1 -tags=integration ./...
  • golangci-lint run --timeout=30m (0 issues)
  • CGO_ENABLED=0 go build -trimpath ./cmd/server
  • frontend lint, typecheck, critical Vitest suite, and production build
  • post-rebase focused handler/service regression tests and 6/6 frontend policy tests

Closes #5136

@Wei-Shaw
Wei-Shaw merged commit 27e8f69 into Wei-Shaw:main Aug 3, 2026
8 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Composite 分组能不能也加一个最大思考强度的限制

2 participants