Skip to content

[FEATURE] Refactor proxy response to unified response structure#595

Open
Issac-Newton wants to merge 2 commits intoalibaba:masterfrom
Issac-Newton:feature/proxy_response_unify
Open

[FEATURE] Refactor proxy response to unified response structure#595
Issac-Newton wants to merge 2 commits intoalibaba:masterfrom
Issac-Newton:feature/proxy_response_unify

Conversation

@Issac-Newton
Copy link
Collaborator

@Issac-Newton Issac-Newton commented Mar 9, 2026

This PR implements the standard API response structure as specified in interface_response_body_spec.md.

Changes include:

  • Refactored response classes to inherit from consistent base classes
  • Added code and failure_reason fields to all sandbox response types
  • Implemented standardized response wrapping with RockResponse
  • Added comprehensive tests for response structure compliance
  • Moved interface specification to docs/_specs/response/interface_response_body_spec.md

Fixes #594

@Issac-Newton Issac-Newton changed the title [FEATURE] Refactor proxy response to统一sponse structure [FEATURE] Refactor proxy response to standardize response structure Mar 9, 2026
@Issac-Newton Issac-Newton changed the title [FEATURE] Refactor proxy response to standardize response structure [FEATURE] Refactor proxy response to unified response structure Mar 9, 2026
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.

[Feature] Unified proxy response structure to standardize API responses

1 participant