fix(platform/copilot): add SuggestedGoalResponse to ToolResponseUnion for OpenAPI schema

Adds SuggestedGoalResponse to the ToolResponseUnion in routes.py so it is
included in the generated OpenAPI schema. Regenerates openapi.json from the
live backend spec.
This commit is contained in:
Zamil Majdy
2026-02-17 12:22:16 +04:00
parent 2f37aeec12
commit c12894698e
2 changed files with 1523 additions and 6567 deletions

View File

@@ -49,6 +49,7 @@ from .tools.models import (
OperationPendingResponse,
OperationStartedResponse,
SetupRequirementsResponse,
SuggestedGoalResponse,
UnderstandingUpdatedResponse,
)
from .tracking import track_user_message
@@ -1051,6 +1052,7 @@ ToolResponseUnion = (
| AgentPreviewResponse
| AgentSavedResponse
| ClarificationNeededResponse
| SuggestedGoalResponse
| BlockListResponse
| BlockDetailsResponse
| BlockOutputResponse

File diff suppressed because it is too large Load Diff