mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-17 10:12:02 -05:00
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:
@@ -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
Reference in New Issue
Block a user