Jira: RHOAIENG-51909
Bug
The public API's CreateSessionRequest DTO (components/public-api/types/dto.go) only accepts three fields:
type CreateSessionRequest struct {
Task string `json:"task" binding:"required"`
Model string `json:"model,omitempty"`
Repos []Repo `json:"repos,omitempty"`
}
There is no displayName field, so session display names sent by the MCP server (or any API client) are silently dropped. The backend supports display names, but the public API gateway strips them during request transformation.
Expected behavior
The public API should accept a displayName field and forward it to the backend, so sessions can have human-readable names.
Suggested fix
Add DisplayName to CreateSessionRequest in components/public-api/types/dto.go and include it in the backend request transformation in components/public-api/handlers/sessions.go.
/cc @markturansky
🤖 Generated with Claude Code
Jira: RHOAIENG-51909
Bug
The public API's
CreateSessionRequestDTO (components/public-api/types/dto.go) only accepts three fields:There is no
displayNamefield, so session display names sent by the MCP server (or any API client) are silently dropped. The backend supports display names, but the public API gateway strips them during request transformation.Expected behavior
The public API should accept a
displayNamefield and forward it to the backend, so sessions can have human-readable names.Suggested fix
Add
DisplayNametoCreateSessionRequestincomponents/public-api/types/dto.goand include it in the backend request transformation incomponents/public-api/handlers/sessions.go./cc @markturansky
🤖 Generated with Claude Code