Skip to content

fix(kiro): preserve Responses item order#136

Merged
kaitranntt merged 4 commits into
mainfrom
kai/fix/134-kiro-responses-order
Jul 18, 2026
Merged

fix(kiro): preserve Responses item order#136
kaitranntt merged 4 commits into
mainfrom
kai/fix/134-kiro-responses-order

Conversation

@kaitranntt

Copy link
Copy Markdown
Owner

Summary

  • finalize an open assistant message before a following function call
  • keep client-visible Responses output indices contiguous across reasoning, messages, functions, and hidden server tools
  • register the Kiro OpenAI Responses translator
  • adapt real Kiro SSE frames and non-stream Claude JSON into the shared converter

Closes #134

Shared translator changes are also proposed upstream in router-for-me/CLIProxyAPI#4429.

Validation

  • focused translator tests with actual BuildClaude*Event and BuildClaudeResponse shapes
  • focused race tests
  • go test -count=1 ./...
  • go build ./...
  • git diff --check
  • independent final review: approved

Docs impact

None. This restores the existing Responses API contract without changing setup or public configuration.

@kaitranntt
kaitranntt merged commit 3088e87 into main Jul 18, 2026
2 checks passed
@kaitranntt
kaitranntt deleted the kai/fix/134-kiro-responses-order branch July 18, 2026 21:51
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.

Kiro/Claude→OpenAI-Responses stream: message item closed after following function_call, hangs Codex

1 participant